PR pane responsiveness: before and after

Workspace pull-request pane on branch review-pane-ui (PR #8247), measured 2026-10-07 in the dev app against PR #7209 in the Archive workspace. Every pair below was captured at the same pane width by dragging the split handle over CDP, so the two columns are pixel-comparable. Images are 2x; they display at the pane's real CSS width.

What changed

All of it is container queries on the pane itself, not on the window, so a narrow pane in a wide window and a narrow window behave the same. The full-page route is untouched except for the shared thresholds, which were chosen so its wider top bar (list toggle + Send to agent) still fits.

Top bar at four widths (after)

320 and 400px: diff stat hidden; 320px also folds the Merge label. 520 and 570px: everything shown.

320after
320px pane top bar after
400after
400px pane top bar after
520after
520px pane top bar after
570after
570px pane top bar after

Summary tab

320px pane

Before: the action row wraps under the tabs, the title runs five lines at 1.75rem, and the Reviews chip breaks onto its own line. After: one header row, four-line title at 1.25rem, 16px gutters.

320before
320px Summary before
320after
320px Summary after

400px pane

400before
400px Summary before
400after
400px Summary after

520px pane

520before
520px Summary before
520after
520px Summary after

570px pane (the widest this split allows)

570before
570px Summary before
570after
570px Summary after

Changes tab

The title row above the files toolbar picks up the same gutter and the top bar stays on one line. The diff itself now runs edge to edge below 40rem (16px gutters to 56rem, 24px above), shown in the third pair on a different PR after the first captures.

320before
320px Changes before
320after
320px Changes after
400before
400px Changes before
400after
400px Changes after
320after, no gutters
320px Changes with no side gutters
585after, no gutters
585px Changes with no side gutters

Conversation and composer (after)

Scrolled to the end of the Summary: the collapsible review rows, the comment pill, and below it the workspace's inline review threads.

320after
320px composer after
520after
520px composer after

Bottom of the pane (inline review threads)

These are the pre-existing workspace review threads. They were already fluid; included so the whole pane is covered.

320before
320px bottom before
320after
320px bottom after

How it was tested

CheckResult
Pane widths 320, 400, 485, 520, 570px, each on Summary top, Summary end, and ChangesCaptured before and after, same drag script
Horizontal overflow of the Summary viewportscrollWidth === clientWidth at 411px; inner wrapper computes display: block
Top bar never wrapsRow is h-11 with no flex-wrap; tabs scroll before anything wraps
Merge / Ready labels when foldedsr-only, so the accessible name is kept
bun run typecheck (desktop)exit 0
Desktop PR suites + PullRequestPane fixtures51 pass

Files