Skip to content

Doc site homepage: fix small screen clipping issue#182

Merged
spaansba merged 1 commit into
spaansba:mainfrom
mknadler:docs-fix-small-screen-hero
Jul 16, 2026
Merged

Doc site homepage: fix small screen clipping issue#182
spaansba merged 1 commit into
spaansba:mainfrom
mknadler:docs-fix-small-screen-hero

Conversation

@mknadler

Copy link
Copy Markdown
Contributor

Fixes for two interrelated visual issues effecting the homepage on small screens (e.g. smaller phones):

  1. The framework installation tabs can't be interacted with if offscreen; I added scrolling.
  2. The entire hero section was getting clipped offscreen below about 450px or so.

Before:
Screenshot 2026-07-14 at 4 09 00 PM

After:
Screenshot 2026-07-14 at 4 08 47 PM

@changeset-bot

changeset-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 544a4f2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes — small-screen CSS fixes for the doc site's homepage hero and framework-install tabs.

  • Add overflow-x: auto to .tabsHeader — lets the framework installation tabs scroll horizontally when they don't fit the viewport.
  • Cap .heroDemo width at calc(100vw - 50px) under max-width: 480px — prevents the 400px-wide install demo from overflowing and clipping the hero on narrow phones.

Pullfrog  | View workflow run | Using Kimi K2 (free via Pullfrog for OSS) | 𝕏

@spaansba

Copy link
Copy Markdown
Owner

thank you!

@spaansba
spaansba merged commit 92885ea into spaansba:main Jul 16, 2026
5 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.

2 participants