搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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.