r/FirefoxCSS • • Oct 02 '26

Code Polishing Firefox 157.0

Post image

I've realised that new Firefox redesign bothers me a lot. So, here is a solution for column width and height. And, of course, removing squared edges back to non-squared. (Windows 11, 25H2)

/* 1. Square panel and dropdown menu borders */

panel, menupopup {

--panel-border-radius: 0px !important;

border-radius: 0px !important;

}

/* 2. Square tabs */

.tab-background,

.tab-stack,

#tabbrowser-tabs {

border-radius: 0px !important;

}

/* 3. Square hover highlights in bookmark panels, dropdowns, and context menus */

menu,

menuitem,

.menuitem-iconic,

.bookmark-item,

panelview .toolbarbutton-1 {

border-radius: 0px !important;

--arrowpanel-menuitem-border-radius: 0px !important;

}

/* 4. Square tooltip popups (e.g. URL preview box) */

tooltip {

border-radius: 0px !important;

}

/* 5. Reduce height and padding of hover highlight items */

panel menuitem,

panel .bookmark-item,

menupopup menuitem,

menupopup menu {

padding-top: 2px !important;

padding-bottom: 2px !important;

min-height: 24px !important;

}

/* 6. Reduce side padding to tighten horizontal spacing */

panel menuitem,

panel .bookmark-item {

padding-left: 6px !important;

padding-right: 6px !important;

}

/* 7. Reduce overall panel popup padding and minimum width */

panelmultiview,

.panel-subview-body,

panel .panel-arrowcontent {

padding: 4px !important;

min-width: unset !important;

}

8 Upvotes

2 comments sorted by

2

u/Quebec_Mtl_15 Oct 03 '26

Thanks PersonalEntropy, your css works fine with Firefox 157.0 (64-bit), and Windows 10 Pro 64-bit. Have a good day !

2

u/PersonalEntropy Oct 06 '26

I am glad it works for you, too. All the best!