From 576edd9f51791d1d649810727bf93784379826e2 Mon Sep 17 00:00:00 2001 From: Zonnev Date: Sat, 30 Nov 2024 13:23:54 +0100 Subject: [PATCH] Made stretched group labels capable for long titles --- Private Mode Style/userChrome.css | 2 +- Titlebar Enabled/userChrome.css | 2 +- base.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Private Mode Style/userChrome.css b/Private Mode Style/userChrome.css index 6b2018a..0a14673 100644 --- a/Private Mode Style/userChrome.css +++ b/Private Mode Style/userChrome.css @@ -830,7 +830,7 @@ toolbar .toolbarbutton-1:not(#back-button):not(#forward-button):not(#reload-butt margin-block: auto 0 auto !important; /* aligns group label in vertical center of horizontal tab bar */ } sidebar-main[expanded] #tabbrowser-tabs[orient="vertical"] tab-group .tab-group-label { - max-width: none !important; /* this is stretching the group labels in expanded vertical tab bar */ + min-width: calc(100%) !important; /* this is stretching the group labels in expanded vertical tab bar */ } sidebar-main[expanded] #tabbrowser-tabs[orient="vertical"] tab-group:not([collapsed]) .tab-group-label { border-radius: 4px 4px 0px 0px !important; /* this border radius only in expanded vertical tab bar and only when the tab group is expanded */ diff --git a/Titlebar Enabled/userChrome.css b/Titlebar Enabled/userChrome.css index d11eaf9..aaea15d 100644 --- a/Titlebar Enabled/userChrome.css +++ b/Titlebar Enabled/userChrome.css @@ -1130,7 +1130,7 @@ toolbarpaletteitem > #stop-reload-button { margin-block: auto 0 auto !important; /* aligns group label in vertical center of horizontal tab bar */ } sidebar-main[expanded] #tabbrowser-tabs[orient="vertical"] tab-group .tab-group-label { - max-width: none !important; /* this is stretching the group labels in expanded vertical tab bar */ + min-width: calc(100%) !important; /* this is stretching the group labels in expanded vertical tab bar */ } sidebar-main[expanded] #tabbrowser-tabs[orient="vertical"] tab-group:not([collapsed]) .tab-group-label { border-radius: 4px 4px 0px 0px !important; /* this border radius only in expanded vertical tab bar and only when the tab group is expanded */ diff --git a/base.css b/base.css index 80f5032..e7ca14e 100644 --- a/base.css +++ b/base.css @@ -1123,7 +1123,7 @@ toolbarpaletteitem > #stop-reload-button { margin-block: auto 0 auto !important; /* aligns group label in vertical center of horizontal tab bar */ } sidebar-main[expanded] #tabbrowser-tabs[orient="vertical"] tab-group .tab-group-label { - max-width: none !important; /* this is stretching the group labels in expanded vertical tab bar */ + min-width: calc(100%) !important; /* this is stretching the group labels in expanded vertical tab bar */ } sidebar-main[expanded] #tabbrowser-tabs[orient="vertical"] tab-group:not([collapsed]) .tab-group-label { border-radius: 4px 4px 0px 0px !important; /* this border radius only in expanded vertical tab bar and only when the tab group is expanded */