-
Notifications
You must be signed in to change notification settings - Fork 9
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
Modals: Mobile - Get alignment right #1599
Conversation
Note: There's a change in the line-height of the modal titles on Mobile, which makes these 2-line titles tighter (vertically shorter) in Figma. But that's not part of this PR, that's part of #1573. |
benefits/eligibility/templates/eligibility/includes/modal--contactless.html
Show resolved
Hide resolved
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.
I think this makes the Close X
on the Agency Selector modal a little too close to the text for certain sizes.
Sorry I though I did, but I hadn't updated my local branch with 587732b
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.
This is great!
Testing note: if your local site is already running, and you pull in new changes, some things will not rebuild
styles.css
is fine if you hard refresh your browser, you'll get the updated version- most templates will be updated
- I found in reviewing this PR that the
selection-label--senior.html
include, which is for the radio button on Eligibility Index, was not updating -- I had to restart my local site to get the change. This may be because it is referenced through a widget for a form field, which maybe gets compiled a single time at the beginning?
@thekaveman Yea I noticed that when I work on some modals and the radio selector, I have to hard restart the whole site every time. I use the restart button on VS Code to make this faster/easier. |
fix #1593
What this PR does
How to test this PR
Docs: Informational Modals, specs
I wrote these out to help me get the alignment right.
Desktop
Mobile
z-index
declarations (and amargin-right
) so that the X always comes on top of the header and the header never overlaps with the X. Now that the header is getting pushed up 36px into the header div, we need this z-index to ensure the clickability of the X.