Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

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