-
Notifications
You must be signed in to change notification settings - Fork 1
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
YALB-363: Design: Serif text in right column gets cut off | YALB-365: Design: Grand Hero Banner overlay header spacing | YALB-424: Removing primary-nav and grand hero results in missing fontawesome #341
Conversation
✅ Deploy Preview for dev-component-library-twig ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
…elements in a div with overflow
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.
Tested all of these out and all looks good to me! I didn't technically test the font-awesome one (I can if you wish) but I didn't want to remove the main menu from the dev site to fully test it, but I understand what you did to load FA on all pages which makes sense.
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.
There is unfortunately one more place to fix the sr-only, and that's in the JS creation in case we ever miss the twig generation:
classes = ['sr-only'], |
Other than that, it all looks great! Due to such a trivial fix above, I'm still approving. Nicely done!
@dblanken-yale Ah, great catch, thank you! I updated that class name. |
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.
Nice work! Passes a11y tests!
🎉 This PR is included in version 1.40.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
YALB-363: Design: Serif text in right column gets cut off
YALB-365: Design: Grand Hero Banner overlay header spacing
YALB-424: Removing primary-nav and grand hero results in missing fontawesome
Description of work
overflow
override to text component in second column so the serif along the left side doesn't get cut off.gap
flex spacing to add more space when only the heading is presentTesting Link(s)
Functional Review Steps
Testing: YALB-363: Design: Serif text in right column gets cut off
Yale
fully render and are not cut off by their parenttext
divoverflow-x: auto
on thetext
element. This was added to allowtable
elements to scroll when users are on smaller screen.ysp-363-serifs.mp4
table
element in a wrapper div, which has theoverflow-x: auto
property so we don't have to set it on thetext
element and cause other issues.ysp-363-serifs-table-wrapper.mp4
Testing: YALB-365: Design: Grand Hero Banner overlay header spacing
grand-hero-banner__snippet
) printing to the DOM even if no content was entered and thegrand-hero-banner__content-inner
element has agap
property set which added extra space in between the heading and the empty content div. I changed the wiring in Atomic to conditionally display the value if a value actually exists. With the empty content markup no longer printing, the heading does not have extra space. I also adjusted the bottom padding to match the top padding. Previously, the bottom padding was using a larger padding variable than the top.ysp-365-hero.mp4
Testing: YALB-424: Removing primary-nav and grand hero results in missing fontawesome
ysp-424-fontawesome.mp4
Accessibility Review