fix(website): add horizontal padding on large screens for homepage content (Fixes #4065) - #4078
fix(website): add horizontal padding on large screens for homepage content (Fixes #4065)#4078waterWang wants to merge 1 commit into
Conversation
|
|
@waterWang is attempting to deploy a commit to the Formik Team on Vercel. A member of the Team first needs to authorize it. |
|
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. |
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 thelgbreakpoint. Since Tailwind's container class does not include default padding, this results in no spacing on large screens.Fix
Replaced
lg:px-0withsm:px-6 lg:px-8to 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.