From 1f2e984853054e867df009ed5078beffe7ca3bd7 Mon Sep 17 00:00:00 2001 From: MS_Y Date: Mon, 21 Mar 2022 14:28:26 +0900 Subject: [PATCH] centered tab label vertical align to center (#179) --- chrome/centered_tab_label.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/centered_tab_label.css b/chrome/centered_tab_label.css index eba7d1a..4166f7f 100644 --- a/chrome/centered_tab_label.css +++ b/chrome/centered_tab_label.css @@ -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 } \ No newline at end of file +#tabbrowser-tabs:not([closebuttons="activetab"]) .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container{ margin-inline-end: 7px }