Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

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

  • 2 odgovora
  • 1 ima to težavo
  • 12 ogledov
  • Zadnji odgovor od Toad-Hall

more options

``` /* //# 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 ?

Vsi odgovori (2)

more options

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

more options

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