mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 15:21:28 +00:00
remove single-line excerpts in widescreen 3panel mode because it breaks layout
This commit is contained in:
@@ -592,6 +592,12 @@ div.autocomplete ul li {
|
|||||||
text-overflow : ellipsis;
|
text-overflow : ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div#headlines-frame.wide .hlTitle {
|
||||||
|
max-width : auto;
|
||||||
|
overflow : visible;
|
||||||
|
white-space : normal;
|
||||||
|
}
|
||||||
|
|
||||||
.hlContentH a, .hlContentH span {
|
.hlContentH a, .hlContentH span {
|
||||||
color : #00cc00;
|
color : #00cc00;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1061,6 +1061,7 @@ function switchPanelMode(wide) {
|
|||||||
|
|
||||||
$("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
|
$("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
|
||||||
$("headlines-frame").setStyle({ borderBottomWidth: '0px' });
|
$("headlines-frame").setStyle({ borderBottomWidth: '0px' });
|
||||||
|
$("headlines-frame").addClassName("wide");
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
@@ -1074,6 +1075,8 @@ function switchPanelMode(wide) {
|
|||||||
$("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
|
$("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
|
||||||
|
|
||||||
$("headlines-frame").setStyle({ borderBottomWidth: '1px' });
|
$("headlines-frame").setStyle({ borderBottomWidth: '1px' });
|
||||||
|
$("headlines-frame").removeClassName("wide");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
closeArticlePanel();
|
closeArticlePanel();
|
||||||
|
|||||||
Reference in New Issue
Block a user