Skip to content

Conversation

@rly
Copy link
Contributor

@rly rly commented May 1, 2025

Attempt fix #26

The banner text being too wide and not wrapping on Android was causing the menu item to appear offscreen. This was fixed by a concurrent PR that removed the banner, but an over-wide banner could cause this problem again in the future, so this PR now prevents an over-wide banner. It also increases the width of the banner text on large screens to 1000 px which looks a bit better in my opinion.

With help from Claude Sonnet and Cline.

@netlify
Copy link

netlify bot commented May 1, 2025

Deploy Preview for nwborg ready!

Name Link
🔨 Latest commit 282f260
🔍 Latest deploy log https://app.netlify.com/sites/nwborg/deploys/681548a66b018200080851be
😎 Deploy Preview https://deploy-preview-49--nwborg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@rly
Copy link
Contributor Author

rly commented May 1, 2025

Fixed by #50

@rly rly closed this May 1, 2025
@rly rly reopened this May 1, 2025
@rly rly changed the title Fix offscreen android menu Prevent over-wide banner May 1, 2025
@rly
Copy link
Contributor Author

rly commented May 1, 2025

Works for me with the test overlong banner.

Screenshot_20250501-154719

@rly
Copy link
Contributor Author

rly commented May 1, 2025

I also increased the width of the banner on large-screen devices (> 768 px wide) from 750 px to 1000 px because it looks a bit better.

@rly rly marked this pull request as ready for review May 1, 2025 22:53
@rly rly requested a review from bendichter May 1, 2025 22:55
@bendichter bendichter merged commit c0d0872 into main May 2, 2025
1 check failed
@bendichter bendichter deleted the fix-wide-view-android branch May 2, 2025 22:36
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.

No menu on mobile

2 participants