-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
login is aligned with nav links when language & country unselected #2743
login is aligned with nav links when language & country unselected #2743
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Just a couple small code suggestions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good. I'm questioning the values we're using though. As we have both 2rem 3rem
and 3rem
. I think we could maybe be consistent.
And then I wanted to mention that there is one more test scenario you can check (I did and it looked good 👍) is when you disable account on the store.
It's not controlled at the theme level but in the admin settings. Here is a little video on how you'd go about disabling/enabling accounts on the storefront.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
…hopify#2743) * login is now aligned with nav links when language and country selectors are unselected * fixed alignment on account & social icons * applied feedback * changed utlitility links to be 3rem vs 2rem +1rem from margin-left padding * implemented hanges from code review
PR Summary:
When mobile drawer is login only, the login link is aligned with the nav links.
Why are these changes introduced?
Fixes #2671 .
What approach did you take?
I used a css class to apply the margin-left when the utility links were missing the localization form but had the account.
Other considerations
N/A
Visual impact on existing themes
If merchants choose to unselect the country and language selector, the account login button will be aligned on the mobile version.
Testing steps/scenarios
Demo links
Checklist