Mozilla サポートの検索

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.

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

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