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!

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Learn More

Reduce the density only for the context menu

  • 2 svar
  • 0 har detta problem
  • 1 visning
  • Senaste svar av 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 ?
Bifogade skärmdumpar

Vald lösning

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;
}
Läs svaret i sitt sammanhang 👍 0

Alla svar (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

Vald lösning

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;
}