MrOtherGuy / firefox-csshacks

Collection of userstyles affecting the browser
Mozilla Public License 2.0
3.13k stars 310 forks source link

non_floating_sharp_tabs.css - transparent tab background #314

Closed corobin closed 10 months ago

corobin commented 10 months ago

Firefox 119

when dragging tabs it can be seen that there is no background so the text overlaps with inactive tabs:

overlap

MrOtherGuy commented 10 months ago

Yeah, so what's happening here is that when you use system auto theme (the default theme) then selected tab is just missing background color. Exactly the same causes #313 since no background was covering the line.

corobin commented 10 months ago

thank you for the quick fix and explanation!

MrOtherGuy commented 10 months ago

There's some further changes coming in Firefox 120, but I have "fixed" this style in 65ee216 in advace. Also, the changes I've made should improve the style for folks that use themes with image backgrounds - although there is few edge cases where the change would actually make the compatibility worse for certain themes. It should be a net-win regardless.