Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 14 additions & 6 deletions web/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -587,14 +587,22 @@ html:not(.dark) .conversations-sidebar {
/* Right rail (workspace panel) in dark: blends into the canvas, keeping only
* its left divider. Excluded from the glass rule above, so this just clears
* the rail's md:bg-card fill and the bg-card fills its panel contents paint
* (FilesPanel/TerminalsPanel/SubagentsPanel + the graph surface). */
.dark aside[aria-label="Workspace"],
* (FilesPanel/TerminalsPanel/SubagentsPanel + the graph surface).
* Skip when maximized — the panel covers the full content area and needs an
* opaque background so the chat beneath doesn't bleed through. */
.dark aside[aria-label="Workspace"]:not([data-maximized]),
.dark
aside[aria-label="Workspace"]
aside[aria-label="Workspace"]:not([data-maximized])
:is([data-workspace-panel-content] > *, [data-workspace-panel-surface]) {
background: transparent !important;
}

/* When maximized the workspace panel covers the full content area; use an
* opaque background so the chat underneath doesn't bleed through. */
aside[aria-label="Workspace"][data-maximized] {
background: var(--card-solid) !important;
}

/* Popovers/menus — same glass treatment */
.dark [data-slot="popover-content"],
.dark [role="menu"],
Expand Down Expand Up @@ -1776,17 +1784,17 @@ html:not(.dark) .conversations-sidebar {
}
@media (min-width: 48rem) {
:root:not(.dark)[data-theme="custom"][data-custom-translucent-sidebar]
:is(.conversations-sidebar, aside[aria-label="Workspace"]) {
:is(.conversations-sidebar, aside[aria-label="Workspace"]:not([data-maximized])) {
background-color: var(--custom-light-sidebar);
backdrop-filter: blur(20px) saturate(1.12);
}
.dark[data-theme="custom"][data-custom-translucent-sidebar]
:is(.conversations-sidebar, aside[aria-label="Workspace"]) {
:is(.conversations-sidebar, aside[aria-label="Workspace"]:not([data-maximized])) {
background-color: var(--custom-dark-sidebar);
backdrop-filter: blur(20px) saturate(1.12);
}
:root[data-theme="custom"][data-custom-translucent-sidebar]
aside[aria-label="Workspace"]
aside[aria-label="Workspace"]:not([data-maximized])
:is([data-workspace-panel-content] > *, [data-workspace-panel-surface]) {
background-color: transparent;
}
Expand Down
1 change: 1 addition & 0 deletions web/src/shell/WorkspacePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ export function WorkspacePanel({
// same flush/bordered styling — only the width changes. The resize
// handle is suppressed in that state — there's no neighbor to resize
// against.
data-maximized={maximized || undefined}
className={cn(
"@container/rail relative z-40 hidden md:flex md:min-h-0 md:flex-col md:overflow-hidden md:border-l md:border-border md:bg-card",
maximized ? "md:absolute md:inset-0" : "md:shrink-0",
Expand Down
Loading