Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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

  • 2 отговора
  • 1 има този проблем
  • 12 изгледи
  • Последен отговор от 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 ?

Всички отговори (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