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:
Matthias Clasen 2020-08-09 12:01:08 -04:00
parent 3760d44f18
commit 473ed75ed5

View File

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