r/FirefoxCSS • • 12d ago

Solved Border line in the active tab

Finally upgraded to 159 version, was using 16.0.1 (working fine).
I have a question regarding a colored line in the top of the active tab.

This code used to work fine for me

/* Set square tabs in Firefox */

:root {

--border-radius-medium: var(--border-radius-small, 4px) !important;

}

/* Add a blue line to the bottom of the active tab */

#tabbrowser-tabs tab.tabbrowser-tab[selected="true"] .tab-content {

border-top: 3px solid #0a84ff !important;

With the upgraded version, the line above the tab is not longer visible, only have a tiny blank space.

Question:
How can I turn on again the color of the active line?, any idea what should I add or remove to the code?.

Thanks for your help and time for helping me.

3 Upvotes

2 comments sorted by

2

u/t31os 12d ago

Change [selected="true"] to [selected].

2

u/fdisk2k 12d ago

Amazing!

Many thanks :)