Fix the essentials margin and add no-sidebar-scrollbar styling.

This commit is contained in:
CosmoCreeper 2025-06-17 14:16:14 -04:00 committed by GitHub
parent 27b94d61af
commit f944ed8071
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}
}
}