forked from AuroraMiddleware/gtk
Adwaita: be careful with list separators
We only want the list .separators class to affect its immediate children - otherwise, we end up with separators in dropdowns that are places into button strips. As a side benefit, restricting this to immediate children makes for faster matching.
This commit is contained in:
parent
3760d44f18
commit
473ed75ed5
@ -3078,11 +3078,11 @@ list {
|
||||
> row.expander .row-header { padding: 2px; }
|
||||
|
||||
&.horizontal row.separator:not(:first-child),
|
||||
&.separators.horizontal row:not(:first-child) {
|
||||
&.separators.horizontal > row:not(:first-child) {
|
||||
border-left: 1px solid $borders_color;
|
||||
}
|
||||
&:not(.horizontal) row.separator:not(:first-child),
|
||||
&.separators:not(.horizontal) row:not(:first-child) {
|
||||
&.separators:not(.horizontal) > row:not(:first-child) {
|
||||
border-top: 1px solid $borders_color;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user