@devries-cameron20 / t3code-1 / commits / 083c903950
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(web): right panel's tab bar no longer slides under the title bar controls (#26233)

Claudesaul committed Oct 31, 2026 at 04:32 UTC 083c9039505fc9207b88343e19d0a3de4a5e622d
1 file changed +13 -2
apps/web/src/components/preview/PreviewPanelShell.tsx
+13 -2
@@ -150,9 +150,20 @@ function PreviewPanelShellFrame(
150 data-preview-panel-maximized={maximized ? "true" : "false"}
151 >
152 {isInline && !maximized ? <RightPanelResizeHandle handlers={handlers} /> : null}
153 - <div className={cn("h-full min-h-0 w-full", collapsible && "overflow-clip")}>
153 + {/* Content stays pinned to the right edge, so closing uncovers the chat
154 + instead of sliding the tab bar under the title bar controls. */}
155 + <div
156 + className={cn(
157 + "h-full min-h-0 w-full",
158 + collapsible && "overflow-clip",
159 + collapsible && !maximized && "flex justify-end",
160 + )}
161 + >
162 <div
155 - className="flex h-full min-h-0 min-w-0 flex-col"
163 + className={cn(
164 + "flex h-full min-h-0 min-w-0 flex-col",
165 + collapsible && !maximized && "shrink-0",
166 + )}
167 style={
168 collapsible && !maximized
169 ? { width: `calc(var(${RESIZABLE_WIDTH_PROPERTY}) - 1px)` }