]> git.wh0rd.org - tt-rss.git/commitdiff
remove unnecessary bottom border from headlines-frame
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 11 May 2013 11:09:18 +0000 (15:09 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 11 May 2013 11:09:18 +0000 (15:09 +0400)
js/tt-rss.js
tt-rss.css

index d273500dca5eec509b72184c5a3c4a606c387ef9..e3731c0cbf11c84883f4d5dab52314711e533d65 100644 (file)
@@ -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();
index baecd327b1d27ac4266d9e9aefa38fc52e0a3044..22970efbdcfc55b59099cd4fdee027a3ca0d055c 100644 (file)
@@ -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;
 }
+