r/FirefoxCSS • • Oct 28 '26

Solved ROUNDED menus

Post image

With the new update 159, toolbar menus—such as the bookmarks and history menus—are EXTRA ROUNDED again. Does anyone know how to fix this?

This no longer works for menus

https://www.reddit.com/r/FirefoxCSS/comments/1whkjin/nova_rounding_borderradius_adjustment_variables/

30 Upvotes

15 comments sorted by

7

u/TraditionalTie4831 🦊 Oct 28 '26 edited Oct 28 '26

You need to use these two =

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

Or this if you prefer it =

--panel-border-radius: var(--border-radius-small) !important;
--panel-menuitem-border-radius: var(--border-radius-small) !important;

2

u/FantasmaGITS Oct 28 '26

Thank you:)

4

u/AdrianW3 Oct 28 '26

Do you know how to get rid of the rounding on the History & Bookmarks search box in the sidebar? Also the pill shaped hover effect on the history list.

4

u/TraditionalTie4831 🦊 Oct 28 '26

Try these =

--input-search-border-radius: 4px !important;
--border-radius-circle: 4px !important;

Or this if you prefer it =

--input-search-border-radius: var(--border-radius-small) !important;
--border-radius-circle: var(--border-radius-small) !important;

1

u/AdrianW3 Oct 31 '26

Thanks - but unfortunately they didn't work.

1

u/TraditionalTie4831 🦊 Oct 31 '26

Hmm... It works for me.

Do you have a @namespace or @-moz-document line in your userChrome?

1

u/AdrianW3 Oct 31 '26

No. Here's the full thing:

/* Force findbar back to the top in Firefox 155+ */

.browserContainer > findbar {
    position: fixed;
    top: 0px;
    right: 0px;
    contain: content;
}

/* Nova Rounding Adjustments */
:root {

--border-radius-xsmall: 1px !important; 
--border-radius-small: 2px !important; 
--border-radius-medium: 3px !important; 
--border-radius-large: 4px !important; 
--border-radius-xlarge: 6px !important; 
 
/*
--tab-border-radius: var(--border-radius-small) !important;

--button-border-radius: var(--border-radius-small) !important;
--toolbarbutton-border-radius: var(--border-radius-small) !important;

--card-border-radius: var(--border-radius-small) !important;
--card-border-radius-compact: var(--border-radius-small) !important;
--card-cover-image-border-radius: var(--border-radius-small) !important;

--input-text-border-radius: var(--border-radius-small) !important;

--menuitem-border-radius: var(--border-radius-small) !important;

--popup-border-radius: var(--border-radius-small) !important;

--panel-border-radius: var(--border-radius-small) !important;
--panel-menuitem-border-radius: var(--border-radius-small) !important;

--input-search-border-radius: var(--border-radius-small) !important;
--border-radius-circle: var(--border-radius-small) !important;

}

*/
}

1

u/AdrianW3 Oct 31 '26

OK - damn, I just realised that the entire last block is commented out.

Uncommented it and now it works - although a bunch of other stuff now looks different too. I'll need to go through that and cull a few lines I think.

Thanks.

5

u/t31os Oct 28 '26

It must be how or where you're applying it, as the CSS from the linked thread works just fine.

Specifically, this will change the rounding of the panel in your screenshot.

:root {
	--panel-border-radius: var(--border-radius-small) !important;
}

2

u/FantasmaGITS Oct 28 '26

Thank you:)

10

u/j--__ Oct 28 '26

we should petition to have "max-border-radius" added to the standard, so we can constrain all border radiuses everywhere with a simple:

:root { max-border-radius: 5px !important; }

4

u/Sartira Oct 28 '26

скачать ツ

1

u/maryadavies Oct 29 '26

THANKS all of you. I've been using pieces of Custom CSS for FX and this has been annoying me for a while. Give me my square menus back! But it's fixed now.

1

u/modded_minecraft Oct 29 '26

I just do
*{
border-radius:0px !important
}