-
Notifications
You must be signed in to change notification settings - Fork 158
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
fix(MegaMenu): prevent menu items from overlapping #3565
fix(MegaMenu): prevent menu items from overlapping #3565
Conversation
Deploy preview created for package Built with commit: 13390c9ede92779699df534956913091e27fb4e3 |
Deploy preview created for package Built with commit: 13390c9ede92779699df534956913091e27fb4e3 |
Deploy preview created for package Built with commit: 13390c9ede92779699df534956913091e27fb4e3 |
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.
Looks good @annawen1 👍
Related Ticket(s)
Masthead / mega menu – content overlapping #3519
Description
Menu Items were overlapping at certain breakpoint. Add utility to calculate total width of the masthead and set the media query to hide and show elements.
Changelog
New
calculateTotalWidth
utility to find total width of elements passed in.style
tag within the<head>
element to hide/show items