mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-01 15:00:32 -08:00
Fix: Menu Padding- Windows7, 8's border size
This commit is contained in:
parent
13a40d2932
commit
4c86414e74
1 changed files with 9 additions and 1 deletions
|
|
@ -97,7 +97,7 @@
|
|||
@media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) {
|
||||
menupopup > menu,
|
||||
menupopup > menuitem {
|
||||
border: 1px solid transparent;
|
||||
border: 1px solid transparent; /* Need reduce 2px at menu */
|
||||
}
|
||||
menu[_moz-menuactive="true"],
|
||||
menuitem[_moz-menuactive="true"] {
|
||||
|
|
@ -873,6 +873,14 @@
|
|||
padding-inline-start: 0.5em;
|
||||
}
|
||||
|
||||
@media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) {
|
||||
menupopup > menuitem,
|
||||
menupopup > menu {
|
||||
/* Remove border */
|
||||
padding-block: calc(var(--menu-padding) - 2px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
@supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
|
||||
:root:not([uidensity="touch"]) .menu-text,
|
||||
:root:not([uidensity="touch"]) .menu-iconic-text {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue