Skip to content

Docs: fix vertical alignment of header's LinkItems with icons#42041

Closed
julien-deramond wants to merge 1 commit intov6-devfrom
v6-dev-jd-fix-linkitem-vertical-alignment
Closed

Docs: fix vertical alignment of header's LinkItems with icons#42041
julien-deramond wants to merge 1 commit intov6-devfrom
v6-dev-jd-fix-linkitem-vertical-alignment

Conversation

@julien-deramond
Copy link
Copy Markdown
Member

@julien-deramond julien-deramond commented Jan 25, 2026

Description

There's an issue with the vertical alignment of the header's LinkItems:

Screenshot 2026-01-25 at 11 34 13

With the fix contained in this PR:

Screenshot 2026-01-25 at 11 34 00

Adding align-items-center could have also be added directly in the LinkItem.astro file. But I preferred to add specifically this class at the right places.

Live previews

@mdo
Copy link
Copy Markdown
Member

mdo commented Jan 26, 2026

This one might need another pass—I'm working on navbar cleanup right now and the new .nav-link classes and more already require some other changes. My intention here is to require .nav on .navbar-nav, which would correctly set the alignment and padding and more for these nav links. Lemme get my navbar branch up and see if that covers all this.

@mdo
Copy link
Copy Markdown
Member

mdo commented Mar 13, 2026

No longer needed after nav changes and navbar revamp.

@mdo mdo closed this Mar 13, 2026
@mdo mdo removed this from v6.0.0 Mar 13, 2026
@julien-deramond julien-deramond deleted the v6-dev-jd-fix-linkitem-vertical-alignment branch March 13, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants