From 5facc2e8c98b9ccae289e6e965736da72fc47e0e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Wed, 15 Feb 2023 05:09:44 +0200 Subject: [PATCH] non-floating-tabs: Make selected tab have position: relative again Firefox 110 made selected tab static, but we need it to be relative so that it gets drawn over the navbar top box-shadow --- chrome/non_floating_sharp_tabs.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/chrome/non_floating_sharp_tabs.css b/chrome/non_floating_sharp_tabs.css index 2b8886f..0774e5d 100644 --- a/chrome/non_floating_sharp_tabs.css +++ b/chrome/non_floating_sharp_tabs.css @@ -68,6 +68,12 @@ See the above repository for updates as well as full license text. */ --uc-scrollbox-base-margin: -22px !important; } +/* Selected tab needs to be relative so it gets drawn over nav-bar top "border" */ +.tabbrowser-tab:not([pinned])[selected]{ + position: relative; + z-index: 1; +} + /* tab shaping */ .tabbrowser-tab{ padding-inline: 0 !important; }