Skip to content

Fix horizontal overflow on mobile viewports - #11

Merged
umsungjun merged 1 commit into
mainfrom
fix/mobile-horizontal-overflow
Aug 10, 2026
Merged

Fix horizontal overflow on mobile viewports#11
umsungjun merged 1 commit into
mainfrom
fix/mobile-horizontal-overflow

Conversation

@umsungjun

Copy link
Copy Markdown
Owner

Replace the showcase's bare 1fr with minmax(0, 1fr) so the 400px TV mockup no longer stretches the row, and cap the fixed-px mockups at the card width below 960px. Drop the hero glow's -4rem side bleed, widening the gradient radius to 67% to keep its size.

Replace the showcase's bare `1fr` with `minmax(0, 1fr)` so the 400px TV mockup no longer stretches the row, and cap the fixed-px mockups at the card width below 960px.
Drop the hero glow's `-4rem` side bleed, widening the gradient radius to 67% to keep its size.
Copilot AI lite review requested due to automatic review settings August 10, 2026 06:25
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
react-device-check Ready Ready Preview Aug 10, 2026 6:25am

@umsungjun
umsungjun merged commit 1ef7a54 into main Aug 10, 2026
3 checks passed
@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

ℹ️ You can also turn on project coverage checks and project coverage reporting on Pull Request comment

Thanks for integrating Codecov - We've got you covered ☂️

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adjusts the website’s responsive CSS to eliminate horizontal overflow on mobile viewports by making grid tracks and fixed-size 3D mockups shrinkable within their containers, and by preventing the hero glow from extending beyond the viewport width.

Changes:

  • Constrain the hero glow pseudo-element to avoid horizontal side-bleed while preserving its visual size via a wider radial-gradient ellipse.
  • Replace the mobile showcase single-column 1fr grid track with minmax(0, 1fr) to allow the column to shrink below min-content width.
  • Add mobile-only min-width: 0 / max-width: 100% constraints to the showcase visual and 3D mockup elements to prevent overflow.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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