Skip to content

fix(remote): stop Connect Phone QR code from being cropped - #289

Open
BigWebstas wants to merge 2 commits into
johannesjo:mainfrom
BigWebstas:fix/connect-phone-qr-crop
Open

BigWebstas wants to merge 2 commits into
johannesjo:mainfrom
BigWebstas:fix/connect-phone-qr-crop

Conversation

@BigWebstas

Copy link
Copy Markdown

Problem

On shorter windows the QR code in the Connect Phone dialog was cut off at the top and bottom.

Cause

The dialog panel is a flex column capped at max-height: 80vh. The 200px QR box kept the default flex-shrink: 1, so when the panel ran out of room it shrank the box instead of scrolling. The box's overflow: hidden then cropped the centred QR image.

Fix

Set flex-shrink: 0 on the QR box so it keeps its size and the panel scrolls instead.

Testing

  • npm run check, plus the unit and client test suites (via the pre-push hook)
  • Built a Linux AppImage and confirmed on a workstation that the full QR code now shows

🤖 Generated with Claude Code

BigWebstas and others added 2 commits September 28, 2026 16:54
The dialog panel is a height-capped (80vh) flex column. The QR box kept
the default flex-shrink, so on short windows it shrank below 200px and
its overflow:hidden cropped the top and bottom of the code. Pin it to
its size so the panel scrolls instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant