From 190aa839e659c4975d91f80f19cd493021f8bc7a Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sat, 16 Nov 2024 20:38:09 +0900 Subject: [PATCH] Fix: Tabbar - Min size at v134 #1023 --- css/leptonChrome.css | 6 ++++++ css/leptonChromeESR.css | 3 +++ src/tab/_connect_to_window.scss | 3 +++ 3 files changed, 12 insertions(+) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index c7cd5503..472e08d8 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -6806,6 +6806,9 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @supports -moz-bool-pref("userChrome.tab.connect_to_window") { + #tabbrowser-tabs[orient="horizontal"] { + min-height: unset !important; /* Original: var(--tabstrip-min-height) */ + } #tabbrowser-tabs[orient="vertical"] { --uc-tab-border-bottom-radius: var(--tab-border-radius); } @@ -21260,6 +21263,9 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @media (-moz-bool-pref: "userChrome.tab.connect_to_window") { + #tabbrowser-tabs[orient="horizontal"] { + min-height: unset !important; /* Original: var(--tabstrip-min-height) */ + } #tabbrowser-tabs[orient="vertical"] { --uc-tab-border-bottom-radius: var(--tab-border-radius); } diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 2c433804..8fb0f574 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -7236,6 +7236,9 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @supports -moz-bool-pref("userChrome.tab.connect_to_window") { + #tabbrowser-tabs[orient="horizontal"] { + min-height: unset !important; /* Original: var(--tabstrip-min-height) */ + } #tabbrowser-tabs[orient="vertical"] { --uc-tab-border-bottom-radius: var(--tab-border-radius); } diff --git a/src/tab/_connect_to_window.scss b/src/tab/_connect_to_window.scss index 89ba62b9..4d31d70b 100644 --- a/src/tab/_connect_to_window.scss +++ b/src/tab/_connect_to_window.scss @@ -1,3 +1,6 @@ +#tabbrowser-tabs[orient="horizontal"] { + min-height: unset !important; /* Original: var(--tabstrip-min-height) */ +} #tabbrowser-tabs[orient="vertical"] { --uc-tab-border-bottom-radius: var(--tab-border-radius); }