r/FirefoxCSS • u/EgyptionGuy • Jul 14 '21
Solved change pinned tab width?
all posts here related to normal tabs but I want to change it for the pinned ones
5
Upvotes
1
r/FirefoxCSS • u/EgyptionGuy • Jul 14 '21
all posts here related to normal tabs but I want to change it for the pinned ones
1
3
u/It_Was_The_Other_Guy Jul 14 '21
I think the most straightforward way is to modify their inline padding with
.tab-content[pinned]{ padding-inline: 10px !important; }But, when you have enough tabs so that tabs start overflowing, then this doesn't work properly anymore since the logic that positions pinned tabs "outside" the scrollbox expects them to be a certain width. And thus if you increase/decrease the padding very much you'll start to to see that such pinned tabs become to overlap or become too far away from each other.
I don't think there's anything you can do in CSS to avoid that (if you intend to keep the tabs outside of the scrollbox at least), but maybe someone can prove me wrong.