Adwaita: Make treeexpander styling generic

The widget can be used outside .navigation-sidebar.

This also fixes the label misalignment in the widget.
This commit is contained in:
nana-4 2020-11-22 12:08:39 +09:00 committed by Jakub Steiner
parent 8e81cbef2c
commit 40f2b49c0d

View File

@ -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;