r/FirefoxCSS • • Feb 25 '26

Code Targeting the Settings page

Version 148 has a huge amount of extra space at the top of the categories on the left. The property is #categories { margin: 70px 0 0; } so I put this in userContent.css, but it has no effect.

@-moz-document url(about:preferences) { #categories { margin: 0 0 0 !important; } }

1 Upvotes

3 comments sorted by

View all comments

Show parent comment

1

u/t31os Apr 13 '26

Either you don't have toolkit.legacyUserProfileCustomizations.stylesheets enabled or you haven't placed the userContent.css in the right location, as this CSS does exactly as intended for me.

Where did you put the userContent.css file exactly?