From 26b3195bdd350ed66640bc8098488636ecce6b98 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Sun, 26 Jan 2025 21:50:13 +0100 Subject: [PATCH] Fixed keyboard shortcuts not working after pinning extension to the bookmarks bar --- .../content/zen-styles/zen-tabs/vertical-tabs-topbar.inc.css | 4 +++- .../base/content/zen-styles/zen-tabs/vertical-tabs.css | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs-topbar.inc.css b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs-topbar.inc.css index 03357527a..95df75975 100644 --- a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs-topbar.inc.css +++ b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs-topbar.inc.css @@ -13,7 +13,9 @@ height: var(--zen-toolbar-height); } } - &:not([zen-has-hover='true']):not([has-popup-menu]):not(:focus-within) { + &:not([zen-has-hover='true']):not([has-popup-menu]):not(:focus-within):not(:has( + *:is([panelopen='true'], [open='true']) + )) { transition-delay: 0.2s; height: var(--zen-element-separation); overflow: hidden; diff --git a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css index e3cf7d309..fd372c882 100644 --- a/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css +++ b/src/browser/base/content/zen-styles/zen-tabs/vertical-tabs.css @@ -359,6 +359,7 @@ flex-direction: column; min-height: fit-content !important; overflow: visible; + max-height: unset !important; & .tabbrowser-tab:not(:hover) .tab-background:not([selected]):not([multiselected]) { background: transparent !important;