This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Buscar en Ayuda

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

Reduce the density only for the context menu

  • 2 respuestas
  • 0 tienen este problema
  • 1 visita
  • Última respuesta de 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 ?
Capturas de pantalla adjuntas

Solución elegida

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;
}
Leer esta respuesta en su contexto 👍 0

Todas las respuestas (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

Solución elegida

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