From 4dfcfaca9b58071a78cf10caf8434d62ebd45b53 Mon Sep 17 00:00:00 2001 From: Sean White Date: Sun, 10 Dec 2017 15:32:32 +1100 Subject: [PATCH] Adjust tab max-width to 100% to mirror GTK's normal tab behavior. The fadein line removes some large blank spots that are often created after tabs are closed. --- ui/theme.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ui/theme.css b/ui/theme.css index 54e9aa8..839525d 100644 --- a/ui/theme.css +++ b/ui/theme.css @@ -405,3 +405,12 @@ tab[selected] { border-left: var(--gnome-tabbar-tab-hover-border-sides) !important; border-bottom: var(--gnome-tabbar-tab-hover-border-bottom) !important; } + +/* Full width tabs */ +.tabbrowser-tab:not([pinned]) { + max-width: 100% !important; +} + +.tabbrowser-tab:not([pinned]):not([fadein]) { + max-width: 0.1px !important; +}