Skip to content

fix(ui): center the footer brand column on mobile - #49

Merged
CodeWithEugene merged 1 commit into
mainfrom
fix/mobile-footer-brand-centering
Sep 27, 2026
Merged

CodeWithEugene merged 1 commit into
mainfrom
fix/mobile-footer-brand-centering

Conversation

@CodeWithEugene

Copy link
Copy Markdown
Owner

What

The footer's brand column (logo, tagline, social icons, Subscribe To Our Newsletter heading + form) now reads as a centered stack on mobile; desktop (lg+) is pixel-for-pixel unchanged — every added class carries an lg: reset.

Details:

  • Column: text-center lg:text-left
  • Tagline (max-w-xs block): mx-auto lg:mx-0 so the capped box itself centers, not just its text
  • Social icons row: justify-center lg:justify-start
  • Newsletter form (340px-capped block): wrapped in flex justify-center text-left lg:block — centers the pill on mobile while text-left keeps the Enter your email placeholder from inheriting the column's centering; the success/error states center inside the same wrapper

Verified

Local production build: rendered HTML carries all four class changes; lint ✓ typecheck ✓ build ✓.

The logo, tagline, social icons and newsletter signup now read as a
centered stack below lg; the capped-width form is flex-centered and the
input text stays left-aligned. Desktop layout is untouched — every new
class carries an lg: reset.
@CodeWithEugene
CodeWithEugene merged commit bce49ef into main Sep 27, 2026
4 checks passed

This branch was successfully deployed

1 active deployment
Preview — 8653fd8d Deployed Sep 27, 2026 by vercel[bot]
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.

1 participant