adwaita: Fix the greediness of row:not(.expander)

This avoids list rows (e.g. the ones in a stack sidebar) to be
accidentally selected and see their padding messed up.
This commit is contained in:
Adrien Plazas 2019-01-23 21:27:33 +01:00
parent 6ebbd8d375
commit 636a9a6ea7
3 changed files with 8 additions and 3 deletions

View File

@ -3662,7 +3662,8 @@ list {
border-color: $backdrop_borders_color; border-color: $backdrop_borders_color;
} }
row:not(.expander) { padding: 2px; } row { padding: 2px; }
row.expander { padding: 0px; }
row.expander .row-header { padding: 2px; } row.expander .row-header { padding: 2px; }
} }

View File

@ -1590,7 +1590,9 @@ list { color: white; background-color: #26232d; border-color: #2a2a2b; }
list:backdrop { background-color: #282530; border-color: #2f2e2f; } list:backdrop { background-color: #282530; border-color: #2f2e2f; }
list row:not(.expander) { padding: 2px; } list row { padding: 2px; }
list row.expander { padding: 0px; }
list row.expander .row-header { padding: 2px; } list row.expander .row-header { padding: 2px; }

View File

@ -1610,7 +1610,9 @@ list { color: black; background-color: #ffffff; border-color: #dad6d2; }
list:backdrop { background-color: #fcfcfc; border-color: #e0ddd9; } list:backdrop { background-color: #fcfcfc; border-color: #e0ddd9; }
list row:not(.expander) { padding: 2px; } list row { padding: 2px; }
list row.expander { padding: 0px; }
list row.expander .row-header { padding: 2px; } list row.expander .row-header { padding: 2px; }