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.

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.

Rohkem teavet

Menu Padding Code Works in FF on Windows 10 but not in Windows 7?

  • 2 vastust
  • 0 on selline probleem
  • 1 view
  • Viimati vastas Slouch

more options

Hi All,

Any idea why the menu code I'm using below to reduce padding in menu items is only affecting Firefox in Windows 10, but not in Windows 7?

Please see attached images.

It's a very strange anomaly. This is true for both FF 125 and FF 115 ESR.

Thanks to all who respond.

/*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/ /*

*
* why doesn't this affect the Firefox menu bar in Windows 7?  only in windows 10?
*
*/

menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu {

 padding-block: 0px !important; /* reduce to 3px, 2px, 1px or 0px as needed */ 
 min-height: unset !important; /* v92.0 - for padding below 4px */

}

root {
 --arrowpanel-menuitem-padding: 4px 8px !important;

}

Hi All, Any idea why the menu code I'm using below to reduce padding in menu items is only affecting Firefox in Windows 10, but not in Windows 7? Please see attached images. It's a very strange anomaly. This is true for both FF 125 and FF 115 ESR. Thanks to all who respond. /*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/ /* * * why doesn't this affect the Firefox menu bar in Windows 7? only in windows 10? * */ menupopup:not(.in-menulist) > menuitem, menupopup:not(.in-menulist) > menu { padding-block: 0px !important; /* reduce to 3px, 2px, 1px or 0px as needed */ min-height: unset !important; /* v92.0 - for padding below 4px */ } :root { --arrowpanel-menuitem-padding: 4px 8px !important; }
Attached screenshots

All Replies (2)

more options
more options

Hi Agent virtuel,

Thank you for the reply.

I'm not describing too much space in my bookmarks menu here.

This is more about padding between menu items on the top menu bar, and why the code above works to tighten up menu items in Windows 10, but does not affect the same menu bar (in the same FF version) in Windows 7.

I'm using normal density in all locations.