From a9af5c60ad4b55d0808b06e61ed26ddb15dcf09f Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Thu, 3 Mar 2016 18:05:40 +0100 Subject: window-slot: workaround search bar double border We currently have a double border in the view due to the search bar using a revealer, which always allocates 1 px and therefore shows the bottom border. Since to fix it we would need widgets able to allocate 0 px, which is current impossible, we workaround it with a CSS style that moves the content 1 px upward. --- src/resources/css/Adwaita.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/resources/css') diff --git a/src/resources/css/Adwaita.css b/src/resources/css/Adwaita.css index c2ba62d23..8c7967799 100644 --- a/src/resources/css/Adwaita.css +++ b/src/resources/css/Adwaita.css @@ -159,3 +159,8 @@ .documents-entry-tag.button:hover { color: shade(@entry_tag_bg, 2.10); } + +/* Workaround for the double border of the searchbar since we use a revealer which + * always allocates at least 1 pixel */ +searchbar { border-top: 1px solid @borders; } +.searchbar-container { margin-top: -1px; } -- cgit v1.2.1