mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-22 04:21:07 -08:00
15 lines
500 B
SCSS
15 lines
500 B
SCSS
/* Based on https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/centered_tab_label.css */
|
|
.tab-label-container {
|
|
display: grid;
|
|
justify-content: safe center;
|
|
align-items: safe center;
|
|
}
|
|
.tab-label,
|
|
.tab-secondary-label {
|
|
overflow: clip;
|
|
}
|
|
|
|
.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]),
|
|
.tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([textoverflow]) {
|
|
margin-inline-end: 5px; // userChrome.tab.close_button_at_hover 6px - 1px
|
|
}
|