Skip to content

Commit a9035ac

Browse files
committed
fix(web): maximized right panel no longer doubles the sidebar border
1 parent 48595c7 commit a9035ac

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/web/src/components/preview/PreviewPanelShell.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ function PreviewPanelShellFrame(
120120
"relative flex h-full min-h-0 min-w-0 max-w-full flex-col self-stretch bg-background",
121121
isInline
122122
? maximized
123-
? "flex-1 border-l border-border"
123+
? // Maximized, the panel's left edge meets the sidebar's own border
124+
// (or the window edge), so a second border would double it.
125+
"flex-1"
124126
: "shrink-0 border-l border-border"
125127
: "w-full",
126128
collapsible &&

0 commit comments

Comments
 (0)