@devries-cameron20 / t3code-1 / commits / 949929dda5
Fork 0

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

fix(mobile): Android split content keeps a gap at the screen edge (#26276)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Oct 27, 2026 at 20:31 UTC 949929dda5df97bc2084290fbe761c41b23665f7
1 file changed +4 -1
apps/mobile/src/features/layout/AdaptiveWorkspaceLayout.tsx
+4 -1
@@ -626,8 +626,10 @@ function AdaptiveWorkspaceLayoutContent(
626 workspaceInspector !== null && workspaceInspector.active && panes.auxiliaryPaneVisible
627 ? (panes.auxiliaryPaneWidth ?? 0)
628 : 0;
629 + // Android's split content is a rounded card: keep it off the screen edge like the list card.
630 + const contentEndGap = Platform.OS === "android" && layout.usesSplitView ? 4 : 0;
631 const contentTargetWidth = layout.usesSplitView
630 - ? Math.max(0, panes.contentPaneWidth - inspectorColumnTargetWidth)
632 + ? Math.max(0, panes.contentPaneWidth - inspectorColumnTargetWidth - contentEndGap)
633 : null;
634 const [listPaneSizing, setListPaneSizing] = useState({
635 viewportWidth,
@@ -936,6 +938,7 @@ function AdaptiveWorkspaceLayoutContent(
938 flex: 1,
939 width: contentTargetWidth,
940 alignSelf: contentAnchor.end ? "flex-end" : "flex-start",
941 + marginRight: contentAnchor.end ? contentEndGap : 0,
942 }
943 : { flex: 1 }
944 }