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!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

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

  • 2 ответа
  • 0 имеют эту проблему
  • 1 просмотр
  • Последний ответ от 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; }
Приложенные скриншоты

Все ответы (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.