# fix\(mobile\): the iPhone Duo's inspector panes use the full column · PR \#23152 · pingdotgg/t3code

[View on GitCafe](https://git.cafe/pingdotgg/t3code/pull/23152)

Repository: [pingdotgg/t3code](https://git.cafe/pingdotgg/t3code)

Visibility: public

State: merged

Source repository: pingdotgg/t3code

Source branch: duo/inspector-insets

Target branch: duo/screens-t3.35

Head commit: 16b5b60a8a53d635e4f213c649cdd5e035e82073

[Discussion and reviews](https://git.cafe/pingdotgg/t3code/pull/23152)

[Commits](https://git.cafe/pingdotgg/t3code/pull/23152/commits?format=markdown)

[Files changed](https://git.cafe/pingdotgg/t3code/pull/23152/diffs?format=markdown)

## Description

---

On an unfolded iPhone Duo, the Git, Files and Changed files inspector panes stopped 84 pt short of the vertical bar. The Git list sat in a third of the column with its title cut off, and the Files header had no room for its search button.

Each pane hosts its own native stack inside the inspector column, and the column already insets its body for the vertical bar. UIKit still gives a nested navigation controller's screens the bar's inset wherever they sit, so the pane headers and the Git list took it a second time.

The inspector column now leaves horizontal insets to its panes. Their native stacks reach the column edge, where UIKit's inset is correct, and `NativeInspectorContent` pads each pane's content once with the column's insets. It replaces `NativeSheetContent`, whose own provider re-read the nested screen's inset.

The second commit fixes the Changed files list. It padded its top by the column's safe area plus a fixed 44 pt bar. On the unfolded Duo the column's top inset is 0, because the status bar sits in the vertical bar, while the pane's header ends 82 pt down, so the first file started under the header. The list now lets UIKit inset it for the header, as the Git and Files panes already do.

## Verification

Measured with accessibility frames and an lldb safe-area dump on the Duo simulator (951 pt wide, with the vertical bar from x = 867):

| | Before | After |
|---|---|---|
| Git list rows | x 600–771 | x 600–855 |
| Git title | ends at x 783 | ends at x 867 |
| Files header | close button only | close and search |
| Changed files, first row | y 56, under the header (ends at 82) | y 94 |

Mobile typecheck passes. Android is unchanged because the wrapper only applies with native workspace columns. On iPad the column has no side insets in landscape, so the change doesn't apply there; it hasn't been checked on an iPad device.

| Git: before | Git: after |
|---|---|
| ![Before: Git inspector list squeezed into a third of the column](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/a428fe9f4109e6eb/git-before.png) | ![After: Git inspector list reaches the vertical bar](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/bf36c9d7cd3199ee/git-after.png) |

| Files: before | Files: after |
|---|---|
| ![Before: Files header without search](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/592e311fecb91703/files-before.png) | ![After: Files header with close and search](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/ddd3e226092ab423/files-after.png) |

| Changed files: before the second commit | Changed files: after |
|---|---|
| ![Before: first file under the header](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/878c981734e205bb/changed-files-before.png) | ![After: first file below the header](https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/02c3ecfe433738d9/changed-files-after.png) |

Implemented with Claude Opus 5.5 in Claude Code, running in T3 Code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

