Skip to content

Lock home page scroll on mobile - #56

Merged
CATPON-dev merged 1 commit into
mainfrom
fix/home-scroll-lock
Nov 13, 2026
Merged

CATPON-dev merged 1 commit into
mainfrom
fix/home-scroll-lock

Conversation

@CATPON-dev

Copy link
Copy Markdown
Collaborator

On phones the home page scrolled a little because the 74svh hero plus the footer was taller than the screen.

  • Below 48rem the home view is exactly one dynamic viewport, with overflow: hidden and overscroll-behavior: none, so it neither scrolls nor bounces.
  • Phones under 700px tall get tighter spacing and a smaller poster title, so the hero and footer fit at 320x568.
  • Desktop and the docs view are unchanged; docs still scroll on mobile.

Checked at 320x568, 360x640, 375x667, 390x844, 430x932 and 1440x900.

Hero and footer now fill exactly one dynamic viewport below 48rem, the page
does not scroll or rubber-band, and short phones (under 700px tall) get
tighter spacing and a smaller poster title so nothing overflows.
@coderabbitai

coderabbitai Bot commented Nov 13, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1c53d96a-a746-46a4-b803-1f01bac0aa15
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@CATPON-dev
CATPON-dev merged commit a07faf1 into main Nov 13, 2026
4 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.

1 participant