forked from AuroraMiddleware/gtk
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:
parent
6ebbd8d375
commit
636a9a6ea7
@ -3662,7 +3662,8 @@ list {
|
||||
border-color: $backdrop_borders_color;
|
||||
}
|
||||
|
||||
row:not(.expander) { padding: 2px; }
|
||||
row { padding: 2px; }
|
||||
row.expander { padding: 0px; }
|
||||
row.expander .row-header { padding: 2px; }
|
||||
}
|
||||
|
||||
|
@ -1590,7 +1590,9 @@ list { color: white; background-color: #26232d; border-color: #2a2a2b; }
|
||||
|
||||
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; }
|
||||
|
||||
|
@ -1610,7 +1610,9 @@ list { color: black; background-color: #ffffff; border-color: #dad6d2; }
|
||||
|
||||
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; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user