remove single-line excerpts in widescreen 3panel mode because it breaks layout

This commit is contained in:
Andrew Dolgov 2013-06-06 10:15:17 +04:00
parent 19b906b94b
commit 15a829013c
2 changed files with 9 additions and 0 deletions

View File

@ -592,6 +592,12 @@ div.autocomplete ul li {
text-overflow : ellipsis;
}
div#headlines-frame.wide .hlTitle {
max-width : auto;
overflow : visible;
white-space : normal;
}
.hlContentH a, .hlContentH span {
color : #00cc00;
}

View File

@ -1061,6 +1061,7 @@ function switchPanelMode(wide) {
$("headlines-toolbar").setStyle({ borderBottomWidth: '0px' });
$("headlines-frame").setStyle({ borderBottomWidth: '0px' });
$("headlines-frame").addClassName("wide");
} else {
@ -1074,6 +1075,8 @@ function switchPanelMode(wide) {
$("headlines-toolbar").setStyle({ borderBottomWidth: '1px' });
$("headlines-frame").setStyle({ borderBottomWidth: '1px' });
$("headlines-frame").removeClassName("wide");
}
closeArticlePanel();