centered tab label vertical align to center (#179)

This commit is contained in:
MS_Y 2022-03-21 14:28:26 +09:00 committed by GitHub
parent 1a67388c7f
commit 1f2e984853
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/centered_tab_label.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
.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 }
.tabbrowser-tab[selected]:not(:hover) .tab-label-container,
#tabbrowser-tabs:not([closebuttons="activetab"]) .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container{ margin-inline-end: 7px }