From: Andrew Dolgov Date: Thu, 6 Jun 2013 06:15:17 +0000 (+0400) Subject: remove single-line excerpts in widescreen 3panel mode because it breaks layout X-Git-Tag: 1.8~21 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=15a829013c6a04615ad98ecf636d0365f89d5923;p=tt-rss.git remove single-line excerpts in widescreen 3panel mode because it breaks layout --- diff --git a/css/tt-rss.css b/css/tt-rss.css index 78a3146f..a872179c 100644 --- a/css/tt-rss.css +++ b/css/tt-rss.css @@ -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; } diff --git a/js/tt-rss.js b/js/tt-rss.js index e3731c0c..9a6db235 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -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();