Този сайт ще има ограничена функционалност, докато се извършва тече неговата поддръжка. Ако дадена статия не може реши проблема ви и искате да зададете въпрос, нашата общност е готова да ви помогне на @firefox в Twitter и /r/firefox в Reddit.

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

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.