From 15a829013c6a04615ad98ecf636d0365f89d5923 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Jun 2013 10:15:17 +0400 Subject: [PATCH] remove single-line excerpts in widescreen 3panel mode because it breaks layout --- css/tt-rss.css | 6 ++++++ js/tt-rss.js | 3 +++ 2 files changed, 9 insertions(+) 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(); -- 2.39.5