add context menu font size tweak #42

This commit is contained in:
bmFtZQ 2022-06-25 00:51:49 +08:00
parent 51294bdf21
commit 9d247ce92d
2 changed files with 230 additions and 224 deletions

View file

@ -76,6 +76,10 @@ To disable a tweak, set the key to `false` or delete it, then restart the browse
|-|
|`uc.tweak.less-permissions-button-padding`|
|use Firefox's default context menu font-size|
|-|
|`uc.tweak.smaller-context-menu-text`|
|disable custom context menus|
|-|
|`uc.tweak.revert-context-menu`|

View file

@ -625,6 +625,7 @@ menuitem[checked="true"]>.menu-iconic-left,
fill: var(--lwt-toolbarbutton-icon-fill-attention, var(--toolbarbutton-icon-fill-attention, currentColor)) !important;
}
@supports not -moz-bool-pref("uc.tweak.smaller-context-menu-text") {
@media (-moz-platform: windows) {
.menu-text,
.menu-iconic-text,
@ -643,3 +644,4 @@ menuitem[checked="true"]>.menu-iconic-left,
}
}
}
}