system: Align submenu labels with parent - adjust for deeper hierarchies
Adjust the previous commit which applied the alignment to :first-child descendants, instead of only immediate children. This fixes alignment issues for a number of Shell extensions by making it easier to override with a .popup-menu-item style-subclass.
This commit is contained in:
parent
201bd9d42e
commit
61e9f51274
@ -1111,7 +1111,7 @@ StScrollBar {
|
|||||||
.aggregate-menu {
|
.aggregate-menu {
|
||||||
min-width: 21em;
|
min-width: 21em;
|
||||||
.popup-menu-icon { padding: 0 4px; }
|
.popup-menu-icon { padding: 0 4px; }
|
||||||
.popup-sub-menu .popup-menu-item :first-child {
|
.popup-sub-menu .popup-menu-item > :first-child {
|
||||||
&:ltr { /* 12px spacing + 2*4px padding */
|
&:ltr { /* 12px spacing + 2*4px padding */
|
||||||
padding-left: 20px; margin-left: 1.09em; }
|
padding-left: 20px; margin-left: 1.09em; }
|
||||||
&:rtl { /* 12px spacing + 2*4px padding */
|
&:rtl { /* 12px spacing + 2*4px padding */
|
||||||
|
Loading…
Reference in New Issue
Block a user