Skip to content

Commit 06ce02f

Browse files
authored
fix(web): maximized right panel no longer doubles the sidebar border (pingdotgg#18939)
1 parent db88e6b commit 06ce02f

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
@@ -113,7 +113,9 @@ function PreviewPanelShellFrame(
113113
"relative flex h-full min-h-0 min-w-0 max-w-full flex-col self-stretch bg-background",
114114
isInline
115115
? maximized
116-
? "flex-1 border-l border-border"
116+
? // Maximized, the panel's left edge meets the sidebar's own border
117+
// (or the window edge), so a second border would double it.
118+
"flex-1"
117119
: "shrink-0 border-l border-border"
118120
: "w-full",
119121
collapsible &&

0 commit comments

Comments
 (0)