Skip to content

[codevoyager] fix: restore horizontal padding on lg screens - #4076

Open
codevoyager-ai-dev wants to merge 1 commit into
jaredpalmer:mainfrom
codevoyager-ai-dev:codevoyager-1784317081
Open

[codevoyager] fix: restore horizontal padding on lg screens#4076
codevoyager-ai-dev wants to merge 1 commit into
jaredpalmer:mainfrom
codevoyager-ai-dev:codevoyager-1784317081

Conversation

@codevoyager-ai-dev

Copy link
Copy Markdown

Summary

Fixes a horizontal padding bug on the documentation website where content sticks to viewport edges on screens ≥1024px (Tailwind lg breakpoint).

Root Cause

Commit cc4c245 (Fix hero padding) introduced lg:px-0 to container elements. Since Tailwind's container class doesn't add default padding, lg:px-0 removes all horizontal padding at the lg breakpoint while px-4 only applies below lg.

Fix

Replaced lg:px-0 with lg:px-8 across all container elements in the website:

  • website/src/pages/index.tsx (hero + features sections)
  • website/src/pages/docs/[...slug].tsx
  • website/src/pages/users.tsx
  • website/src/pages/blog/index.tsx
  • website/src/components/Footer.tsx
  • website/src/components/Nav.tsx

Safety

Pure CSS change — no logic alteration, no side effects.

Closes #4065

…px-8)

Replace lg:px-0 with lg:px-8 across all container elements in the
website to prevent content from sticking to viewport edges on
screens >= 1024px (Tailwind lg breakpoint).

Root cause: commit cc4c245 introduced lg:px-0 which removed all
horizontal padding at the lg breakpoint.

Closes jaredpalmer#4065
@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 9519b87

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

@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