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

master
Andrew Dolgov 12 years ago
parent 19b906b94b
commit 15a829013c

@ -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();

Loading…
Cancel
Save