From f6c7e12dbf4a74759b43c53e5cbc0db23178a47a Mon Sep 17 00:00:00 2001 From: indifferentketchup Date: Sat, 16 May 2026 06:36:03 +0000 Subject: [PATCH] fix(mobile): hide Split button + single-pane navigator chrome MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit v1.6 left the Workspace's Split-button row visible on mobile even when only one pane was open — ~36px of dead chrome above the chat. Wrap the entire Split-row in !isMobile so mobile gets header → chat with no intermediate strip. The existing mobile pane-navigator strip (gated to panes.length > 1) is unchanged and still appears once a second pane is created via the long-press "New chat" menu item (G3). Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/web/src/components/Workspace.tsx | 58 ++++++++++++++------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/apps/web/src/components/Workspace.tsx b/apps/web/src/components/Workspace.tsx index 10a77ab..cf92dc7 100644 --- a/apps/web/src/components/Workspace.tsx +++ b/apps/web/src/components/Workspace.tsx @@ -125,34 +125,36 @@ export function Workspace({ sessionId, projectId }: Props) { return (
-
- - - - - - addSplitPane('chat')}> - Chat - - addSplitPane('terminal')}> - Terminal - - addSplitPane('agent')}> - Agent - - - -
+ {!isMobile && ( +
+ + + + + + addSplitPane('chat')}> + Chat + + addSplitPane('terminal')}> + Terminal + + addSplitPane('agent')}> + Agent + + + +
+ )} {isMobile && panes.length > 1 && (