Enhance sidebar and vertical tab styles with workspace-specific adjustments

This commit is contained in:
mr. M
2025-03-07 23:28:04 +01:00
parent 5484aea042
commit 2e21bcc542
4 changed files with 60 additions and 47 deletions

View File

@@ -111,6 +111,7 @@
background: transparent;
border: none;
cursor: ew-resize;
z-index: 2;
&:is(.zen-split-view-splitter[orient='vertical']) {
/* Bit of a hacky solution, but it works */

View File

@@ -373,8 +373,12 @@
overflow-y: auto;
height: 100%;
scrollbar-width: thin;
margin-left: calc(-1 * var(--zen-toolbox-padding));
width: calc(100% + var(--zen-toolbox-padding) * 2);
/* Only do this hack if we have workspaces enabled */
:root[zen-workspace-id] & {
margin-left: calc(-1 * var(--zen-toolbox-padding));
width: calc(100% + var(--zen-toolbox-padding) * 2);
}
}
#zen-browser-tabs-container {