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".

Learn More

Reduce the density only for the context menu

  • 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 sfhowes

more options

I am using TB 115 with a Relaxed density. Almost all the elements are fine for me, but the context menu space that is there is a too big. I would like to reduce it. How to do it via userChrome.css ?

I am using TB 115 with a Relaxed density. Almost all the elements are fine for me, but the context menu space that is there is a too big. I would like to reduce it. How to do it via userChrome.css ?
Đính kèm ảnh chụp màn hình

Giải pháp được chọn

Use this code in userChrome.css to set the density of context menus and Menu Bar menus when the default density is relaxed:

/* context menus, menu bar density */
menupopup > :is(menu, menuitem) {
    height: 15px !important;
}
Đọc câu trả lời này trong ngữ cảnh 👍 0

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

more options

I am not seeing the context menu density affected, at least on Mac.

What is your OS? Do you still see this issue?

more options

Giải pháp được chọn

Use this code in userChrome.css to set the density of context menus and Menu Bar menus when the default density is relaxed:

/* context menus, menu bar density */
menupopup > :is(menu, menuitem) {
    height: 15px !important;
}