Skip to content

Commit

Permalink
Fix: Menu - Padding at Mac's non native menu #488
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Oct 21, 2022
1 parent c5c0a2f commit 2e87567
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions css/leptonChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -9554,8 +9554,7 @@
}

/* Checkbox menuitem, None iconic menu */
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menuitem[checked="true"],
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menu:not(.menu-iconic) {
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menuitem[type="checkbox"] {
padding-inline-start: calc(var(--context-menu-background-padding) + var(--context-menu-mac-padding)) !important;
}

Expand Down
3 changes: 2 additions & 1 deletion src/icons/layout/_menu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ $_layoutCommonMenus: (
}

/* Checkbox menuitem, None iconic menu */
#{selector.nest($_nestedPopupPadding, "menuitem[checked=\"true\"], menu:not(.menu-iconic)")} {
#{selector.nest($_nestedPopupPadding, "menuitem[type=\"checkbox\"]")} {
// "menuitem[checked=\"true\"], menu:not(.menu-iconic)"
@include _layout_init_mac_others;
}

Expand Down

0 comments on commit 2e87567

Please sign in to comment.