Reduce the density only for the context menu
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 ?
被選擇的解決方法
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; }從原來的回覆中察看解決方案 👍 0
所有回覆 (2)
I am not seeing the context menu density affected, at least on Mac.
What is your OS? Do you still see this issue?
選擇的解決方法
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; }