-
Notifications
You must be signed in to change notification settings - Fork 107
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 header navigation overflow on desktop #1060
Conversation
Removes the link to `"/"` labelled `"Home"`, which is currently hardcoded, and only shows up within the navigation menu on mobile screen widths. This link may not be appropriate for all services, which might not have a homepage, or might use a different path for it. It is also unclear whether having a homepage link is always needed in the navigation if the NHS logo also goes to the homepage.
b9e160e
to
8c40c97
Compare
Nice, logic seems to work well. Style wise, at 990 width the links go centred and lose their dividers. I think perhaps the 989px styling should be preserved at larger screens too? Thoughts? @paulrobertlloyd Also looks like we need the page container max-width on the overflow menu items. |
I agree, and that styling is fixed in #1059. This PR fixes the broken JS only (and so can be included in the next minor release). |
Will create a new PR as this one now includes breaking changes. |
Description
Fixes issue where navigation list with too many items would not show the ‘Menu’ toggle on desktop, and items would overflow.
Checklist