From 9fedd63693d4f5a971c37b9c19ee450c692424b8 Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Thu, 15 Dec 2022 02:41:35 +0800 Subject: [PATCH] allow tabs to be clicked from the top of a window this allows a user to click tabs and buttons at the very top of a maximised window when using the floating tabs tweak. --- chrome/global/tweaks.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/chrome/global/tweaks.css b/chrome/global/tweaks.css index 75f518e..212a37a 100644 --- a/chrome/global/tweaks.css +++ b/chrome/global/tweaks.css @@ -54,6 +54,20 @@ bugs with certain themes eg. dark text on dark background.) */ } } + .tabbrowser-tab, + #tabbrowser-arrowscrollbox-periphery #tabs-newtab-button, + #TabsToolbar #TabsToolbar-customization-target> :not(#tabbrowser-tabs) { + padding-top: 4px !important; + } + + #tabbrowser-tabs { + margin-top: calc(var(--tab-block-margin) - 4px) !important; + } + + #TabsToolbar #TabsToolbar-customization-target> :not(#tabbrowser-tabs) { + margin-top: calc(var(--tab-block-margin) - 2px) !important; + } + /* remove toolbar bg */ #nav-bar, #PersonalToolbar {