[gtk/nana-4/gtk-sidebar-style-fixes: 2/8] Adwaita: Make treeexpander styling generic




commit 40f2b49c0dd711f6bac56cffdbbdd371a31e5e00
Author: nana-4 <hnmaigo gmail com>
Date:   Sun Nov 22 12:08:39 2020 +0900

    Adwaita: Make treeexpander styling generic
    
    The widget can be used outside .navigation-sidebar.
    
    This also fixes the label misalignment in the widget.

 gtk/theme/Adwaita/_common.scss | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 2e90668ddf..a5074872be 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -3311,6 +3311,10 @@ columnview {
   }
 }
 
+treeexpander {
+  border-spacing: 4px;
+}
+
 /********************************************************
  * Data Tables                                          *
  * treeview like tables with individual focusable cells *
@@ -3602,12 +3606,6 @@ separator.sidebar {
     // will make the animation of the new bookmark row jump
     > revealer { padding: 0 14px; }
 
-    expander {
-      margin: 0 8px 0 0;
-
-      &:dir(rtl) { margin: 0 0 0 8px; }
-    }
-
     &:selected {
       background-color: $menu_selected_color;
       color: $fg_color;


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