Skip to content

Commit 418543a

Browse files
fix(mobile): non-floating iPad tab bar spans a narrow window
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent ad4572b commit 418543a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/mobile/src/features/workspace/WorkspaceNativeTabs.ios.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function WorkspaceNativeTabs(props: {
162162
bottom: 0,
163163
// UIKit can shrink the sidebar to 280pt independently of its preferred width.
164164
width:
165-
deviceType === "pad"
165+
deviceType === "pad" && (floatingTabs || layout.usesSplitView)
166166
? Math.min(280, layout.listPaneWidth ?? width, width)
167167
: (layout.listPaneWidth ?? width),
168168
height: 128,

0 commit comments

Comments
 (0)