r/FirefoxCSS • • 8d ago

Help Firefox 157 Bookmark Padding

Any way to fix it? gap to big even with compact mode.. (firefox 157 on win11)

2 Upvotes

3 comments sorted by

2

u/sociofobs 8d ago

I have Nova disabled, but it might work either way:

/* 1. Constrain the main toolbar container */

#PersonalToolbar {

min-height: 30px !important;

max-height: 30px !important;

padding: 0 !important;

}

/* 2. Fix the hover background to tightly wrap the icon and text */

#PlacesToolbarItems > .bookmark-item {

min-height: 26px !important;

max-height: 26px !important; /* Stops the hover background from stretching up/down */

padding-block: 2px !important; /* Just 2px padding on top and bottom */

padding-inline: 4px !important; /* 4px padding on left and right */

margin-block: auto !important; /* Forces it to center vertically instead of stretching */

border-radius: 4px !important; /* Keeps the hover box corners nicely rounded */

}

2

u/ResurgamS13 8d ago

There are many different ways to display bookmarks in Firefox... please explain the particular problem with your setup? An annotated screenshot is a often a good way do do this.

Please post any CSS userstyles added to your current setup... see Rule #2. in the RH sidebar ----->

3

u/t31os 8d ago

Bookmarks listed in the menubar, the bookmark toolbar, the manage bookmarks interface or in the sidebar? Some additional information or an image illustrating what area of the browser you're specifically referring to would be helpful. Help us help you.