Break long titles
This commit is contained in:
parent
863ae0f638
commit
04f6a2f0aa
|
@ -28,6 +28,13 @@ body {
|
|||
zoom: 1;
|
||||
}
|
||||
|
||||
.css-truncate {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
/* Layout Styles */
|
||||
/* ----------------------------------------------------------*/
|
||||
|
|
|
@ -10,6 +10,7 @@ $(document).ready(function() {
|
|||
var link = $(entry).find('link').text();
|
||||
|
||||
var item = $('<a>')
|
||||
.attr('class', 'css-truncate')
|
||||
.attr('href', link)
|
||||
.attr('target', '_blank')
|
||||
.text(title);
|
||||
|
|
Loading…
Reference in a new issue