Skip to content

fix(web): pull request tab fits the narrow side panel - #219

Merged
badcuban merged 2 commits into
mainfrom
threadlines/fix-pull-request-panel-layout
Sep 5, 2026
Merged

fix(web): pull request tab fits the narrow side panel#219
badcuban merged 2 commits into
mainfrom
threadlines/fix-pull-request-panel-layout

Conversation

@badcuban

@badcuban badcuban commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

When a pull request opens as a tab in the right side panel, the header was laid out for a full-width page and only rearranged itself when the whole window was phone-sized. The panel can be 272px wide on a wide screen, so the checks rollup beside the tabs was pushed past the edge, the author disappeared from the "updated" line, and the number was clipped behind the Merge and Close buttons.

The detail panel is now its own CSS container and the header answers to the panel's width instead of the window's. In a narrow panel the action buttons wrap under the repository line, the title wraps to two lines, the gh pr checkout command and the file counts drop under their rows, the tab strip tightens and keeps only the glyph of the checks rollup and the timeline order toggle (the words stay in a tooltip and for screen readers), and the Summary's Reviewers row wraps instead of overflowing. On the full Pull Requests page nothing changes at normal widths.

Verified with fmt, lint, typecheck, the full web browser suite, and screenshots of the panel at 272px, 330px and 520px.

The pull request detail header only rearranged itself when the window was
phone-sized, so beside a thread, where the panel can be 272px wide on a
wide screen, the checks rollup was pushed past the edge, the author was
squeezed out of the updated line, and the number was clipped behind the
action buttons.

The panel is now its own container and the header answers to its width:
the actions wrap under the repository line, the title wraps to two lines,
the checkout command and the diff counts drop under their rows, and the
tab strip keeps its glyphs and hides the words beside them, with the
words in a tooltip and for screen readers. The Summary's meta rows wrap
rather than overflow.
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
threadlines Skipped Skipped Sep 5, 2026 2:55am UTC

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 5, 2026
@badcuban
badcuban merged commit 01920ef into main Sep 5, 2026
16 checks passed
@badcuban
badcuban deleted the threadlines/fix-pull-request-panel-layout branch September 5, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant