From ff188e0e1cd01eee3b3384bd20bda65e6741c7f3 Mon Sep 17 00:00:00 2001 From: Mauro Balades Date: Sat, 24 Aug 2024 10:08:37 +0200 Subject: [PATCH] chore: Update zen-compact-mode.css for improved navigation toolbar styling --- .../base/content/zen-styles/zen-compact-mode.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/browser/base/content/zen-styles/zen-compact-mode.css b/src/browser/base/content/zen-styles/zen-compact-mode.css index dc70ab2a0..b4b499665 100644 --- a/src/browser/base/content/zen-styles/zen-compact-mode.css +++ b/src/browser/base/content/zen-styles/zen-compact-mode.css @@ -33,6 +33,10 @@ border-radius: var(--zen-panel-radius); } + & > * { + pointer-events: none; + } + &, & #titlebar { min-width: calc(var(--zen-navigation-toolbar-min-width) + var(--zen-compact-toolbox-margin-single) * 4) !important; } @@ -84,9 +88,13 @@ #navigator-toolbox:has(*[open="true"]:not(tab):not(#zen-sidepanel-button)) { transform: none !important; opacity: 1; + + & > * { + pointer-events: all; + } } - #navigator-toolbox > *{ line-height: normal; pointer-events: auto } + #navigator-toolbox > *{ line-height: normal; } #navigator-toolbox, #navigator-toolbox > *{