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

Center the nav links vertically #4723

Closed

Conversation

lectrician1
Copy link
Collaborator

To close #3372

Copy link
Member

@tomhughes tomhughes left a comment

Choose a reason for hiding this comment

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

The vertical alignment looks much better which is great but at least in Firefox the horizontal spacing between the items is reduced - the cause seems to be that previously the DOM put a whitespace item between each list item and that is gone with the flex layout.

Adding a one pixel margin on the list item seems to get it back to roughly where it was before but maybe there's a better solution or maybe people think the reduced spacing is ok?

@AntonKhorev
Copy link
Contributor

This shouldn't be required with #4828 merged.

@tomhughes
Copy link
Member

That's very true. Thanks for the work @lectrician1 but I think this has been resolved by #4828 now.

@tomhughes tomhughes closed this May 27, 2024
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.

Navbar items not vertically centered
3 participants