-
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
Feat: Login.gov help modal #1524
Conversation
4a62f6d
to
4ab90be
Compare
e8ebb89
to
15e78dd
Compare
Renamed the modal file |
Hmm this is a bummer 🤔 I wonder if this is because you're inside an include and Have you tried the |
Yeah, it's the same situation (not available in the include). |
From https://docs.djangoproject.com/en/4.2/ref/templates/builtins/#include Lame, seems like it should work?? EDIT: it does work in other includes, like |
benefits/core/templates/core/includes/selection-label--senior.html
Outdated
Show resolved
Hide resolved
Someone made a helper library for this very purpose: https://github.com/dmptrluke/django-csp-helpers#form-widgets 👀 |
Also this SO post from 2013! https://stackoverflow.com/a/16922285/453168 |
Such profit! I propagated the |
a3854df
to
9078baa
Compare
🤣 |
9078baa
to
67f7570
Compare
benefits/eligibility/templates/eligibility/includes/selection-label--senior.html
Outdated
Show resolved
Hide resolved
…ect input" This reverts commit 67f7570.
@@ -371,6 +375,10 @@ footer .footer-links li a:visited { | |||
line-height: 1; | |||
} | |||
|
|||
.eligibility-index #login .fallback-text { | |||
display: inline-block; |
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 so the ?
icon stays on the same line as the Login.gov image in mobile.
Maybe look at refactoring this rule in the future (to not be inside a media query): https://github.com/cal-itp/benefits/blob/dev/benefits/static/css/styles.css#L385
Closes #1473