We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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

Èròjà atẹ̀lélànà yii ni a ti fi pamọ́ fọ́jọ́ pípẹ́. Jọ̀wọ́ béèrè ìbéèrè titun bí o bá nílò ìrànwọ́.

Reduce the density only for the context menu

  • 2 àwọn èsì
  • 0 ní àwọn ìṣòro yìí
  • 23 views
  • Èsì tí ó kẹ́hìn lọ́wọ́ sfhowes

more options

I am using TB 115 with a Relaxed density. Almost all the elements are fine for me, but the context menu space that is there is a too big. I would like to reduce it. How to do it via userChrome.css ?

I am using TB 115 with a Relaxed density. Almost all the elements are fine for me, but the context menu space that is there is a too big. I would like to reduce it. How to do it via userChrome.css ?
Ìsopọ̀ yíyà aṣàfihàn

Ọ̀nà àbáyọ tí a yàn

Use this code in userChrome.css to set the density of context menus and Menu Bar menus when the default density is relaxed:

/* context menus, menu bar density */
menupopup > :is(menu, menuitem) {
    height: 15px !important;
}
Ka ìdáhùn ni ìṣètò kíkà 👍 0

All Replies (2)

more options

I am not seeing the context menu density affected, at least on Mac.

What is your OS? Do you still see this issue?

more options

Ọ̀nà àbáyọ Tí a Yàn

Use this code in userChrome.css to set the density of context menus and Menu Bar menus when the default density is relaxed:

/* context menus, menu bar density */
menupopup > :is(menu, menuitem) {
    height: 15px !important;
}