Skip to content

fix(website): add horizontal padding on large screens for homepage content (Fixes #4065) - #4078

Open
waterWang wants to merge 1 commit into
jaredpalmer:mainfrom
waterWang:fix/4065-homepage-padding
Open

fix(website): add horizontal padding on large screens for homepage content (Fixes #4065)#4078
waterWang wants to merge 1 commit into
jaredpalmer:mainfrom
waterWang:fix/4065-homepage-padding

Conversation

@waterWang

Copy link
Copy Markdown

Description

Fixes #4065 — Homepage content has no horizontal padding on large screens (≥1024px).

Root Cause

The container uses px-4 lg:px-0, which removes horizontal padding at the lg breakpoint. Since Tailwind's container class does not include default padding, this results in no spacing on large screens.

Fix

Replaced lg:px-0 with sm:px-6 lg:px-8 to match the padding pattern used by other sections of the site (e.g., line 184, 217, 319).

Before

Content touches left/right edges on screens ≥1024px.

After

Consistent horizontal padding across all screen sizes.

@changeset-bot

changeset-bot Bot commented Aug 16, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: bfac7dc

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

@vercel

vercel Bot commented Aug 16, 2026

Copy link
Copy Markdown

@waterWang is attempting to deploy a commit to the Formik Team on Vercel.

A member of the Team first needs to authorize it.

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

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.

[Formik Website] Responsive layout issue – missing horizontal padding on large screens

1 participant