From 6695c738e5ff255fc589bb49efbf1ab3639296fa Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Fri, 5 May 2023 17:32:21 +0200 Subject: [PATCH] fix(firefox): tab selection and non-overflowing size --- .mozilla/firefox/chrome/userChrome.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.mozilla/firefox/chrome/userChrome.css b/.mozilla/firefox/chrome/userChrome.css index 9209ce7..7bf73e8 100644 --- a/.mozilla/firefox/chrome/userChrome.css +++ b/.mozilla/firefox/chrome/userChrome.css @@ -90,12 +90,16 @@ tab:not(:active) .tab-background { transition-delay: 3s; } +#tabbrowser-tabs:not([secondarytext-unsupported]) .tab-label-container { + height: unset; +} + .tab-label-container:not([textoverflow]) { display: flex; overflow: hidden; justify-content: center; - width: 50% !important; - max-width: 50% !important; + width: 100% !important; + max-width: 100% !important; min-width: 50% !important; } @@ -641,12 +645,8 @@ menu:not(.subviewbutton) > .menu-right image { border-left: none !important; } -.tab-background { - border: none !important; -} - .tab-background[selected="true"] { - border-bottom: 2px solid var(--mff-tab-selected-bg) !important; + border-bottom: 5px solid var(--mff-tab-selected-bg) !important; } .tab-background:not[visuallyselected] {