Skip to content

Commit

Permalink
Fix: Menu - Padding algin for windows7, windows8 #145 #161
Browse files Browse the repository at this point in the history
  • Loading branch information
black7375 committed Aug 25, 2021
1 parent be91b04 commit 91d4b65
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@

/*= Menu - Reduce Padding ==================================================*/
:root {
--menu-padding: 0.35em;
--menu-padding: 0.35em; /* Win7, 8: 0px */
}
:root[uidensity=compact] {
--menu-padding: 0.25em;
Expand Down Expand Up @@ -1559,8 +1559,8 @@
--context-menu-background-padding-default: 5px;
--context-menu-background-padding: var(--context-menu-background-padding-default);
}
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menuitem,
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menu,
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menuitem:not(.menuitem-iconic),
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menu:not(.menu-iconic),
#blockedPopupDontShowMessage {
background-position: left var(--context-menu-background-padding) center !important;
padding-inline-start: var(--context-menu-background-padding) !important;
Expand All @@ -1581,6 +1581,9 @@

@media (-moz-os-version: windows-win7 ),
(-moz-os-version: windows-win8 ) {
:root {
--context-menu-background-padding-default: 3px;
}
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menuitem:not(.menuitem-iconic, [type="checkbox"], [checked="true"], .in-menulist),
:not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menu:not(.menu-iconic, [type="checkbox"], [checked="true"], .in-menulist),
#blockedPopupDontShowMessage {
Expand Down

0 comments on commit 91d4b65

Please sign in to comment.