[gnome-shell] search: Hide the separator line of the last result



commit 61471f9fb4bb1056976daaacf5576b06da5a9542
Author: verdre <verdre v0yd nl>
Date:   Sun Nov 25 00:45:19 2018 +0100

    search: Hide the separator line of the last result
    
    If a result is displayed at the end of the search results, there should
    obviously not be a line separating it from the next result underneath
    it. To fix this, always hide the separator for the last result visible.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/311

 data/theme/gnome-shell-sass/_common.scss | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/data/theme/gnome-shell-sass/_common.scss b/data/theme/gnome-shell-sass/_common.scss
index 8359973dd..d5fae2157 100644
--- a/data/theme/gnome-shell-sass/_common.scss
+++ b/data/theme/gnome-shell-sass/_common.scss
@@ -1285,6 +1285,8 @@ StScrollBar {
 
   .search-section-separator { height: 2px; background-color: rgba(255, 255, 255, 0.2); }
 
+  .search-section:last-child .search-section-separator { background-color: transparent; }
+
   .list-search-result-content { spacing: 30px; }
   .list-search-result-title { color: darken($osd_fg_color,5%); spacing: 12px; }
   .list-search-result-description { color: transparentize(darken($osd_fg_color,15%), 0.5); }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]