Skip to content

Make HomePage mobile-friendly with proper scrolling#373

Merged
bcollazo merged 4 commits intomainfrom
claude/mobile-friendly-homepage-xRYcx
Mar 30, 2026
Merged

Make HomePage mobile-friendly with proper scrolling#373
bcollazo merged 4 commits intomainfrom
claude/mobile-friendly-homepage-xRYcx

Conversation

@bcollazo
Copy link
Copy Markdown
Owner

The page was unscrollable on mobile because html/body/#root have
overflow:hidden, and justify-content:center on a fixed-height flex
container clips overflowing content at the top (unreachable).

Fix by adding overflow-y:auto to .home-page and replacing
justify-content:center with ::before/::after flex spacers. This
centers content when it fits the viewport, but falls back to
top-aligned natural flow with scrolling when content overflows.
Also keep the player-row 3-column layout on mobile instead of
collapsing to single column.

https://claude.ai/code/session_01Tpb9oUh1grX3WDUngr3nmJ

The page was unscrollable on mobile because html/body/#root have
overflow:hidden, and justify-content:center on a fixed-height flex
container clips overflowing content at the top (unreachable).

Fix by adding overflow-y:auto to .home-page and replacing
justify-content:center with ::before/::after flex spacers. This
centers content when it fits the viewport, but falls back to
top-aligned natural flow with scrolling when content overflows.
Also keep the player-row 3-column layout on mobile instead of
collapsing to single column.

https://claude.ai/code/session_01Tpb9oUh1grX3WDUngr3nmJ
@netlify
Copy link
Copy Markdown

netlify bot commented Mar 30, 2026

Deploy Preview for catanatron-staging ready!

Name Link
🔨 Latest commit deb2b50
🔍 Latest deploy log https://app.netlify.com/projects/catanatron-staging/deploys/69cb085d4106790008a1b48c
😎 Deploy Preview https://deploy-preview-373--catanatron-staging.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 project configuration.

@coveralls
Copy link
Copy Markdown

coveralls commented Mar 30, 2026

Pull Request Test Coverage Report for Build 23772890187

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 93.872%

Totals Coverage Status
Change from base Build 23413088630: 0.03%
Covered Lines: 3278
Relevant Lines: 3492

💛 - Coveralls

@bcollazo bcollazo merged commit 59ec7ad into main Mar 30, 2026
15 checks passed
@bcollazo bcollazo deleted the claude/mobile-friendly-homepage-xRYcx branch March 30, 2026 23:46
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.

3 participants