Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Separate userChrome.css configs for browser.proton.contextmenus.enabled

  • 2 பதிலளிப்புகள்
  • 1 இந்த பிரச்சனை உள்ளது
  • 12 views
  • Last reply by Toad-Hall

``` /* //# Items padding */ menupopup > menuitem, menupopup > menu { padding-block: 1px !important; } ``` has different results for this about:config setting .

I can ``` @media (-moz-proton) { menupopup > menuitem, menupopup > menu { padding-block: 4px !important; } } ``` , but this works only if browser.proton.enabled is true that adds some changes i don't want .

How would it be possible to define different values to apply depending on browser.proton.contextmenus.enabled state ?

``` /* //# Items padding */ menupopup > menuitem, menupopup > menu { padding-block: 1px !important; } ``` has different results for this about:config setting . I can ``` @media (-moz-proton) { menupopup > menuitem, menupopup > menu { padding-block: 4px !important; } } ``` , but this works only if browser.proton.enabled is true that adds some changes i don't want . How would it be possible to define different values to apply depending on browser.proton.contextmenus.enabled state ?

All Replies (2)

I've got the menus all back to less space between menu items using this:

menupopup > menuitem, menupopup > menu {
  padding-block: 3px !important;
}
:root {
  --arrowpanel-menuitem-padding: 4px 8px !important;
}


Note: in preferences about:config I have everything to do with 'proton' set as false - there are 6 of them and the browser.proton.toolbar.version is 3

Maybe this link will offer some helpful info: https://www.userchrome.org/firefox-89-styling-proton-ui.html