r/FirefoxCSS • • Oct 02 '26

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

View all comments

2

u/sociofobs Oct 02 '26

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 */

}