From 1e0b86cca4df99f20869957d1f32703768b9082e Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sat, 14 Aug 2021 14:57:25 +0300 Subject: [PATCH] remove pointer-events from titlebar if cursor is not over the toolbox This allows the style to work with tabs_on_bottom.css without causing tabs to appear when close to the top of the web-content, which would make top ~36px inaccessible. --- chrome/autohide_tabstoolbar.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/autohide_tabstoolbar.css b/chrome/autohide_tabstoolbar.css index 9fb5d1b..a2a28f7 100644 --- a/chrome/autohide_tabstoolbar.css +++ b/chrome/autohide_tabstoolbar.css @@ -11,6 +11,11 @@ See the above repository for updates as well as full license text. */ z-index: 1; } +#navigator-toolbox:not(:hover) > #titlebar{ + -moz-window-dragging: no-drag !important; + pointer-events: none +} + :root:not([customizing]) #navigator-toolbox:hover, :root:not([customizing]) #titlebar{ margin-bottom: calc(0px - 2 * var(--tab-block-margin) - var(--tab-min-height));