]> git.wh0rd.org - tt-rss.git/commitdiff
remove single-line excerpts in widescreen 3panel mode because it breaks layout
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 6 Jun 2013 06:15:17 +0000 (10:15 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 6 Jun 2013 06:15:17 +0000 (10:15 +0400)
css/tt-rss.css
js/tt-rss.js

index 78a3146f30a8c5dcb11664bbbfdc0c56aba13d10..a872179cf2121af4867ddd01bdad72ca1e8fee1a 100644 (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;
 }
index e3731c0cbf11c84883f4d5dab52314711e533d65..9a6db235998b139e6f6be0f68e70c3987850cc88 100644 (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();