From f944ed8071511e3cdb8ea247390297dbf0199e30 Mon Sep 17 00:00:00 2001 From: CosmoCreeper <179134799+CosmoCreeper@users.noreply.github.com> Date: Tue, 17 Jun 2025 14:16:14 -0400 Subject: [PATCH] Fix the essentials margin and add no-sidebar-scrollbar styling. --- .../chrome.css | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/chrome.css b/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/chrome.css index 2409b404..41ff2372 100644 --- a/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/chrome.css +++ b/themes/ad97bb70-0066-4e42-9b5f-173a5e42c6fc/chrome.css @@ -506,9 +506,9 @@ } :root:has(#theme-SuperPins[uc-tabs-show-separator="essentials-shown"]) { - #zen-essentials-container, .zen-essentials-container { + zen-workspace[active="true"]:has(.zen-workspace-pinned-tabs-section .tabbrowser-tab) { &:has(~ #zen-tabs-wrapper #zen-browser-tabs-container #vertical-pinned-tabs-container .zen-workspace-tabs-section[active="true"] .tabbrowser-tab) { - margin-bottom: 8px !important; + margin-top: 6px !important; } } @@ -526,8 +526,8 @@ } :root:not(:has(#theme-SuperPins[uc-tabs-show-separator="essentials-shown"])) { - #zen-essentials-container, .zen-essentials-container { - margin-bottom: 8px !important; + #tabbrowser-tabs:has(.zen-essentials-container) #zen-tabs-wrapper { + margin-top: 6px !important; } } } @@ -568,12 +568,6 @@ } @media (-moz-bool-pref: "uc.pins.stay-at-top") { - @media (-moz-bool-pref: "theme.nosidebarscrollbar.before125b") { - #tabbrowser-arrowscrollbox .zen-workspace-normal-tabs-section { - scrollbar-width: none !important; - } - } - zen-workspace > arrowscrollbox.workspace-arrowscrollbox { overflow-y: hidden !important; flex-basis: 100%; @@ -639,4 +633,10 @@ margin-top: 2px; } } + + @media (-moz-bool-pref: "uc.remove-sidebar-scrollbar") { + scrollbox:nth-child(5), #tabbrowser-arrowscrollbox .zen-workspace-normal-tabs-section { + scrollbar-width: none !important; + } + } }