EliverLara / firefox-sweet-theme

:candy: A dark and modern theme for firefox with vibrant colors
740 stars 33 forks source link

Suggestion: Extract full-size tab code into optional css #13

Open dever23b opened 4 years ago

dever23b commented 4 years ago

This theme is awesome! However, I can't be the only person that doesn't like full-size tabs. The way it's coded makes it a challenge to override it without manipulating the core code in tabsbar.css. Editing the core code is obviously undesirable, as changes will be lost on update.

My modification to tabsbar.css, to shrink up tabs, was to comment out the following two blocks:

49 / Remove tab separators / 50 /* 51 .tabbrowser-tab::after, 52 .tabbrowser-tab::before { 53 border-color: transparent !important; 54 border-image: none !important; 55 } 56 /**/

234 / Full width tabs / 235 /* 236 .tabbrowser-tab:not([style^="max-width"]):not([pinned]), 237 .tabbrowser-tab[style^="max-width: 100px !important;"]:not([pinned]) { 238 max-width: 100% !important; 239 } 240 /**/

EliverLara commented 4 years ago

Thanks for the suggestion! I'll take a look into this.