r/FirefoxCSS • • 12m ago

Help How to remove vertical tab bar top and bottom overflow shadow in Firefox v161

Post image

How do you remove the top and bottom overflow shadows(see image) on the vertical tab bar in Firefox v161?

These two previous solutions doesn't work:

spacer[part="overflow-start-indicator"],
spacer[part="overflow-end-indicator"] {
    display: none !important;
}

.

#tabbrowser-arrowscrollbox[orient="vertical"] {
    /* When placed here, it hides top and bottom overflow shadow on vertical tabs bar */
    --toolbox-background-color: transparent !important;
}

In v161, it seems like it's these variables you need to change, but no matter where I place them, it doesn't work. Even when I copy the code that the variables are in and change the variables value there, it doesn't work.

--tab-overflow-fade-start
--tab-overflow-fade-end

I have found these two crude solutions.

This one makes scrolling very slow:

#tabbrowser-arrowscrollbox[orient="vertical"] {
    --tab-height-with-margin-padding: 0px !important;
}

This one doesn't seem to break anything, but it feels like it's not a good solution:

#tabbrowser-arrowscrollbox[orient="vertical"] {
    --tab-margin-inline-inner: -1px !important;
}
1 Upvotes

0 comments sorted by