Remove homepage side gutters on mobile#511
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VfnLCEWyr4yiYy7NZiha3A
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Georgina Hesp · Slack thread
Summary
Before: On mobile, the homepage content sits inside a bordered scaffold with ~16px empty gutters on each side, wasting horizontal space.
After: On mobile (<768px) the side scaffold border and horizontal padding are dropped so content uses the full viewport width. Desktop is unchanged — the
border-xscaffold andpx-4gutter still apply atmd:and up.How: In
app/src/components/homepage/index.tsx, the outer container'spx-4becomespx-0 md:px-4and the scaffold wrapper'sborder-xbecomesmd:border-x. Homepage-only; no other pages or layouts touched.Scope
app/(hosted site, MCP, Ask AI)packages/cli/packages/mdx-bundler/docs/(product documentation)Type of change
Test plan
CSS-class-only change on the marketing homepage. Verify at <768px that the homepage content spans the full viewport width (no left/right border scaffold, no side padding), and at >=768px that the
border-xscaffold andpx-4gutter still render as before.bun run checkpasses locallybun dev, CLI command, or other relevant command)docs/(if user-facing)Notes for reviewers
No breaking changes. Homepage-only;
md:(768px) is the mobile cutoff.Generated by Claude Code