From d34a32a80ef70ac0c75f56158fa75360ddfcbbf8 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 11 May 2013 15:09:18 +0400 Subject: [PATCH] remove unnecessary bottom border from headlines-frame --- js/tt-rss.js | 8 ++++---- tt-rss.css | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/js/tt-rss.js b/js/tt-rss.js index d273500d..e3731c0c 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -548,10 +548,7 @@ function init_second_stage() { closeArticlePanel(); _widescreen_mode = getInitParam("widescreen"); - - if (_widescreen_mode) { - switchPanelMode(_widescreen_mode); - } + switchPanelMode(_widescreen_mode); if (parseInt(getCookie("ttrss_fh_width")) > 0) { dijit.byId("feeds-holder").domNode.setStyle( @@ -1063,6 +1060,7 @@ function switchPanelMode(wide) { borderTopWidth: '0px' }); $("headlines-toolbar").setStyle({ borderBottomWidth: '0px' }); + $("headlines-frame").setStyle({ borderBottomWidth: '0px' }); } else { @@ -1074,6 +1072,8 @@ function switchPanelMode(wide) { borderTopWidth: '1px'}); $("headlines-toolbar").setStyle({ borderBottomWidth: '1px' }); + + $("headlines-frame").setStyle({ borderBottomWidth: '1px' }); } closeArticlePanel(); diff --git a/tt-rss.css b/tt-rss.css index baecd327..22970efb 100644 --- a/tt-rss.css +++ b/tt-rss.css @@ -778,7 +778,7 @@ div.fatalError textarea { #content-wrap { padding : 0px; - border-width : 0px 0px 1px 1px; + border-width : 0px 0px 0px 1px; border-style : solid; border-color : #c0c0c0; margin : 0px; @@ -802,10 +802,9 @@ div.fatalError textarea { #headlines-frame { padding : 0px; border-color : #c0c0c0; - border-left-width : 0px; - border-right-width : 0px; + border-style : solid; + border-width : 0px; margin-top : 0px; - border-top-width : 0px; } #headlines-toolbar_splitter, #toolbar_splitter { @@ -1073,3 +1072,4 @@ div.hl.active { overflow: hidden; text-overflow: ellipsis; } + -- 2.39.5