Skip to content

Fix homepage mobile layout responsiveness#407

Merged
samcm merged 2 commits intomasterfrom
samcm/fix-homepage-mobile
Feb 11, 2026
Merged

Fix homepage mobile layout responsiveness#407
samcm merged 2 commits intomasterfrom
samcm/fix-homepage-mobile

Conversation

@samcm
Copy link
Member

@samcm samcm commented Feb 11, 2026

Summary

The homepage was locked to viewport height with overflow-hidden, preventing scrolling on mobile. Network cards wrapped below the fold and got clipped. Now the layout switches to scrollable on small screens while maintaining the centered desktop experience.

Changes

  • Enable scrolling on mobile by using min-h-dvh instead of fixed h-dvh
  • Reduce network card dimensions on mobile: 176px → 144px width, 20px → 12px padding
  • Decrease typography and spacing: 96px → 32px vertical padding, 48px → 24px section margins
  • Scale down icon sizes and digit cells on small screens; restore original sizes at sm: breakpoint and above
  • Preserve desktop layout completely: all changes use mobile-first approach with responsive breakpoints

Enable scrolling on mobile by switching from fixed viewport to min-height layout. Reduce card sizes, padding, and spacing on small screens while preserving desktop appearance. Network cards now fit properly on phones without clipping.
@samcm samcm requested a review from Savid as a code owner February 11, 2026 00:19
@samcm samcm merged commit 41c0b6e into master Feb 11, 2026
3 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.

3 participants