Trang web này sẽ có chức năng hạn chế trong khi chúng tôi trải qua bảo trì để cải thiện trải nghiệm của bạn. Nếu một bài viết không giải quyết được vấn đề của bạn và bạn muốn đặt câu hỏi, chúng tôi có cộng đồng hỗ trợ của chúng tôi đang chờ để giúp bạn tại @FirefoxSupport trên Twitter và /r/firefox trên Reddit.

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Tìm hiểu thêm

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

  • 2 trả lời
  • 0 gặp vấn đề này
  • 1 lượt xem
  • Trả lời mới nhất được viết bởi 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; }
Đính kèm ảnh chụp màn hình

Tất cả các câu trả lời (2)

more options

Hữu ích?

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.

Hữu ích?

Đặt một câu hỏi

Bạn phải đăng nhập vào tài khoản của bạn để trả lời bài viết. Vui lòng bắt đầu một câu hỏi mới, nếu bạn chưa có tài khoản.