Fix: Global Menubar - padding at icon with non userChrome.padding.global_menubar

This commit is contained in:
alstjr7375 2022-05-04 10:46:25 +09:00
parent 818f29a66c
commit 30cdbf6308
2 changed files with 12 additions and 0 deletions

View file

@ -6002,6 +6002,12 @@
--menuitem-image: none;
/* Prevent Image Inheritance */
}
@supports not -moz-bool-pref("userChrome.padding.global_menubar") {
#main-menubar > menu {
padding-block: 2px !important;
}
}
}
/* Padding - Windows */
@media (-moz-os-version: windows-win7),

View file

@ -77,6 +77,12 @@ menupopup:is(#context_sendTabToDevicePopupMenu, #context-sendpagetodevice-popup)
#main-menubar > menu > menupopup {
--menuitem-image: none; /* Prevent Image Inheritance */
}
@include NotOption("userChrome.padding.global_menubar") {
#main-menubar > menu {
padding-block: 2px !important;;
}
}
}
/* Padding - Windows */