mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-06 01:02:25 -08:00
Fix: Center Tab Label
parent
4d0c4e6c7a
commit
fc04a731c7
1 changed files with 1 additions and 1 deletions
2
Tips.md
2
Tips.md
|
|
@ -205,7 +205,7 @@ Use this code:
|
||||||
Use this code:
|
Use this code:
|
||||||
```css
|
```css
|
||||||
/* Based on https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/centered_tab_label.css */
|
/* Based on https://github.com/MrOtherGuy/firefox-csshacks/blob/master/chrome/centered_tab_label.css */
|
||||||
.tab-label-container{ display: grid; justify-content: safe center; }
|
.tab-label-container{ display: grid; justify-content: safe center; align-items: safe center; }
|
||||||
.tab-label,.tab-secondary-label{ overflow: hidden; }
|
.tab-label,.tab-secondary-label{ overflow: hidden; }
|
||||||
|
|
||||||
.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]),
|
.tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue