From 886a8c53937cb58288cb10b1f0cd297b327d67b6 Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 27 Oct 2026 16:47:43 -0700 Subject: [PATCH] fix(mobile): keep iPad tab bar within narrow sidebars --- .../src/features/workspace/WorkspaceNativeTabs.ios.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/mobile/src/features/workspace/WorkspaceNativeTabs.ios.tsx b/apps/mobile/src/features/workspace/WorkspaceNativeTabs.ios.tsx index a29110dfde46c..93852f81fab29 100644 --- a/apps/mobile/src/features/workspace/WorkspaceNativeTabs.ios.tsx +++ b/apps/mobile/src/features/workspace/WorkspaceNativeTabs.ios.tsx @@ -169,7 +169,11 @@ export function WorkspaceNativeTabs(props: { position: "absolute", left: 0, bottom: 0, - width: layout.listPaneWidth ?? width, + // UIKit can shrink the sidebar to 280pt independently of its preferred width. + width: + deviceType === "pad" + ? Math.min(280, layout.listPaneWidth ?? width, width) + : (layout.listPaneWidth ?? width), height: 128, }} >