summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornana-4 <hnmaigo@gmail.com>2020-11-22 12:08:39 +0900
committerJakub Steiner <jimmac@gmail.com>2020-11-23 10:51:58 +0100
commit40f2b49c0dd711f6bac56cffdbbdd371a31e5e00 (patch)
tree38c79bf42d27cbc7bc104f0a4c36d860d27676a1
parent8e81cbef2c96bd18ea4e98876eff56bf519c8a91 (diff)
downloadgtk+-40f2b49c0dd711f6bac56cffdbbdd371a31e5e00.tar.gz
Adwaita: Make treeexpander styling generic
The widget can be used outside .navigation-sidebar. This also fixes the label misalignment in the widget.
-rw-r--r--gtk/theme/Adwaita/_common.scss10
1 files 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;