From b4ac75a7712e756c5439c9ba8127a831fcd2ddd0 Mon Sep 17 00:00:00 2001 From: Tanvir Date: Mon, 8 Jul 2024 18:00:30 +0600 Subject: [PATCH] make context menu compact --- chrome/menu/contextmenu.css | 6 ++++++ chrome/userChrome.css | 1 + readme.md | 1 + 3 files changed, 8 insertions(+) create mode 100644 chrome/menu/contextmenu.css diff --git a/chrome/menu/contextmenu.css b/chrome/menu/contextmenu.css new file mode 100644 index 0000000..80a558f --- /dev/null +++ b/chrome/menu/contextmenu.css @@ -0,0 +1,6 @@ +/* Compact context menu */ +menupopup > menuitem, +menupopup > menu { + padding-block: 2px !important; + min-height: unset !important; +} diff --git a/chrome/userChrome.css b/chrome/userChrome.css index 0a5705f..590355d 100644 --- a/chrome/userChrome.css +++ b/chrome/userChrome.css @@ -6,6 +6,7 @@ @import "bar/urlbar.css"; @import "bar/findbar.css"; @import "menu/appmenu.css"; +@import "menu/contextmenu.css"; @import "menu/extensions-menu.css"; @import "browser/navigation.css"; @import "misc/round-items.css"; diff --git a/readme.md b/readme.md index 6ae5c0b..6933103 100644 --- a/readme.md +++ b/readme.md @@ -46,6 +46,7 @@ My Tailor-Fitted highly customized and advanced [Firefox](https://www.mozilla.or - Dark UI in pages (e.g. addons.mozilla.org) - Centered status panel at the top - Compact about:config list +- Compact items and menus (e.g. context menu) - Various sidebar (sidebery, tree-style-tab) tweaks including auto-hide - Consistent and matching colors across various elements and the UI - Glow and scale effect on hover on toolbar buttons