Skip to content
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

Make mega-menu content-2 flyout width content-independent #6043

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

wpears
Copy link
Member

@wpears wpears commented Sep 26, 2020

Closes https://github.local/CFPB/super-regular/issues/162

Previously, between 901px and 1260px, the width of the mega menu flyout could change based on the content. This was somewhat hard to reproduce and resolved around display: table-cell weirdness of the child columns.

This now sets an explicit width: 100%; between those dimensions, which keeps the flyout a constant width, not matter the number of columns/presence of an overview link, etc.

Before:
Screen Shot 2020-09-25 at 5 04 29 PM

After:
Screen Shot 2020-09-25 at 5 05 07 PM

Copy link
Member

@anselmbradford anselmbradford left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@wpears wpears merged commit cbaa664 into main Sep 29, 2020
@wpears wpears deleted the mega-menu-tablet-flyout branch September 29, 2020 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants