diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 56c2db4..15b745c 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -6900,6 +6900,12 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @media -moz-pref("userChrome.tab.connect_to_window") { + #TabsToolbar #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height); + } + #TabsToolbar[multibar] #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height_mlt); + } #tabbrowser-tabs:not([orient="vertical"]) { min-height: unset !important; /* Original: var(--tabstrip-min-height) */ } @@ -21650,6 +21656,12 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @media (-moz-bool-pref: "userChrome.tab.connect_to_window") { + #TabsToolbar #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height); + } + #TabsToolbar[multibar] #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height_mlt); + } #tabbrowser-tabs:not([orient="vertical"]) { min-height: unset !important; /* Original: var(--tabstrip-min-height) */ } diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 8bd726e..3ae87ee 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -7336,6 +7336,12 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @supports -moz-bool-pref("userChrome.tab.connect_to_window") { + #TabsToolbar #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height); + } + #TabsToolbar[multibar] #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height_mlt); + } #tabbrowser-tabs:not([orient="vertical"]) { min-height: unset !important; /* Original: var(--tabstrip-min-height) */ } diff --git a/src/tab/_connect_to_window.scss b/src/tab/_connect_to_window.scss index 7c593f1..8704bec 100644 --- a/src/tab/_connect_to_window.scss +++ b/src/tab/_connect_to_window.scss @@ -1,3 +1,13 @@ +#TabsToolbar { + #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height); + } + + &[multibar] #tabbrowser-tabs:not([orient="vertical"]) { + max-height: var(--tab-min-height_mlt); + } +} + #tabbrowser-tabs:not([orient="vertical"]) { min-height: unset !important; /* Original: var(--tabstrip-min-height) */