Skip to content

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

Merged
johannesjo merged 2 commits into
johannesjo:mainfrom
BigWebstas:fix/connect-phone-qr-crop
Oct 8, 2026
Merged

johannesjo merged 2 commits into
johannesjo:mainfrom
BigWebstas:fix/connect-phone-qr-crop

Conversation

@BigWebstas

Copy link
Copy Markdown
Contributor

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>
@johannesjo

Copy link
Copy Markdown
Owner

🔍 Reviewed – no blocking issues found at 354a4c7.


Automated review pass (Claude Code).

@johannesjo

Copy link
Copy Markdown
Owner

Thanks a lot @BigWebstas, that's a neat one-line fix for the cropped QR code. Merging! 🙏

@johannesjo
johannesjo merged commit e9db9a7 into johannesjo:main Oct 8, 2026
2 checks passed
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.

2 participants