Repository navigation
fix(ui): center the footer brand column on mobile - #49
Merged
Merged
Conversation
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.
This branch was successfully deployed
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.
What
The footer's brand column (logo, tagline, social icons,
Subscribe To Our Newsletterheading + form) now reads as a centered stack on mobile; desktop (lg+) is pixel-for-pixel unchanged — every added class carries anlg:reset.Details:
text-center lg:text-leftmax-w-xsblock):mx-auto lg:mx-0so the capped box itself centers, not just its textjustify-center lg:justify-startflex justify-center text-left lg:block— centers the pill on mobile whiletext-leftkeeps theEnter your emailplaceholder from inheriting the column's centering; the success/error states center inside the same wrapperVerified
Local production build: rendered HTML carries all four class changes; lint ✓ typecheck ✓ build ✓.