From 53a8b421bc21f211b99875d086b7045510865504 Mon Sep 17 00:00:00 2001 From: shrigiri81 Date: Mon, 29 Jun 2026 10:36:19 +0530 Subject: [PATCH 1/2] fix: restrict bookmark toolbar hover trigger to 4px strip (#2041) --- themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css index 5090012c4..6abbaeb1d 100644 --- a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css +++ b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css @@ -102,6 +102,10 @@ menuitem.bookmark-item[label*="github"] .menu-icon { /* Only apply hiding when bookmarks toolbar is actually enabled */ #PersonalToolbar:not([collapsed]):not([customizing]) { + height: 4px !important; + min-height: 4px !important; + margin-bottom: -4px !important; + overflow: visible !important; position: relative; margin-bottom: calc(0px - var(--urlbar-min-height)); transform: rotateX(90deg) !important; @@ -120,6 +124,11 @@ menuitem.bookmark-item[label*="github"] .menu-icon { @media (-moz-bool-pref: "uc.bookmarks.expand-on-hover") { #zen-appcontent-navbar-container:hover #PersonalToolbar:not([collapsed]) { transform: rotateX(0deg) !important; + /* position: absolute to float over webpage without pushing layout */ + position: absolute !important; + height: unset !important; + min-height: unset !important; + margin-bottom: 0px !important; } } From 1b58729cb6c8245dc90e0c6f85bf4a87cb74cd8a Mon Sep 17 00:00:00 2001 From: shrigiri81 Date: Mon, 29 Jun 2026 10:46:24 +0530 Subject: [PATCH 2/2] fix: constrain width of navbar items to ensure overflow chevron displays correctly --- themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css index 6abbaeb1d..fd36607a5 100644 --- a/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css +++ b/themes/ea1a5ace-f698-4b45-ab88-6e8bd3a563f0/chrome.css @@ -129,6 +129,13 @@ menuitem.bookmark-item[label*="github"] .menu-icon { height: unset !important; min-height: unset !important; margin-bottom: 0px !important; + width: 100% !important; + } + + /* Constrain width so overflow chevron appears correctly */ + #zen-appcontent-navbar-container:hover #PlacesToolbarItems { + max-width: 100% !important; + overflow: hidden !important; } }