-
Notifications
You must be signed in to change notification settings - Fork 153
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
[Part 2 of 3] Newsletter sign up button/form added newsletter button #3048
Conversation
…or primary-nav.js to call
@kristinashu this is ready for design review. Note that the desktop version form is still in one-column layout. I'm working on modifying the Newsletter/Sign Up React component so we can have the option to show it as 2-column. I'm separating the work from this PR as that React component is used in other places (e.g., footer) and it's best that we do it as 2 stages in case I accidentally break something. Another note is that I can't perfectly vertically centered the form section. We have to reserve some extra space for error messages to go. (Technical context: in order to achieve the slide down effect, we have to give the fully expanded section a fixed height before the animation starts so the slide down animation knows when to 'stop growing/expanding'. If we really want it to look centered of course we can go with some JavaScript help, but hopefully we can do this as a follow-up ticket.) |
@kristinashu this is up for design review again! |
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.
Beautiful!!!
It looks like the button stays highlighted if you click it once to open the dialog, and then click it again to dismiss the dialog. Should it reset to outline styling? |
@Pomax I can't reproduce the issue. Maybe your had your cursor over the button that's why it stayed highlighted? |
Both in FF and Chrome the button stays black for me. STR:
|
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.
R+ after fixing the prettier
errors - the button coloring probably shouldn't block this from landing so fix if you feel that's easy to do, otherwise landing it works for me!
OMG FINALLY! THANKS TEAM! |
Related PRs/issues #2994
https://foundation-mofostaging-pr-3048.herokuapp.com/
Checklist