From 2e87567b662922810d53959e46084b78f330f54e Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 21 Oct 2022 10:27:16 +0900 Subject: [PATCH] Fix: Menu - Padding at Mac's non native menu #488 --- css/leptonChrome.css | 3 +-- src/icons/layout/_menu.scss | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 32dae732..22962e4d 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -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; } diff --git a/src/icons/layout/_menu.scss b/src/icons/layout/_menu.scss index c4d959f9..894bef43 100644 --- a/src/icons/layout/_menu.scss +++ b/src/icons/layout/_menu.scss @@ -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; }