Tabsbar: Fix text overlay fade when [textoverflow] isn't present

This commit is contained in:
Rafael Mardojai CM 2022-10-12 11:59:46 -05:00
parent 098e3fad99
commit bcddc5dd0e
No known key found for this signature in database
GPG Key ID: 2B2DAB2A58566C84
1 changed files with 3 additions and 0 deletions

View File

@ -330,6 +330,9 @@ tab {
.tabbrowser-tab:not([pinned]):is([selected="true"], :hover) {
--tab-label-mask-size: 32px !important;
}
.tabbrowser-tab:not([pinned]):is([selected="true"], :hover) .tab-label-container:not([textoverflow]) {
mask-image: linear-gradient(to left, transparent calc(var(--tab-label-mask-size) - 20px), black var(--tab-label-mask-size)) !important;
}
/* Tab close button etc. positioning */
.tab-throbber, .tab-icon-image, .tab-sharing-icon-overlay, .tab-icon-sound, .tab-close-button {