Skip to content

Center the navbar logo on the line of the navbar links - #43

Merged
Etelis merged 1 commit into
mainfrom
docs-light-mode
Nov 18, 2026
Merged

Etelis merged 1 commit into
mainfrom
docs-light-mode

Conversation

@almogtavor

Copy link
Copy Markdown
Member

On the docs site the logo sat about 3 px above the "Docs" link. As an inline image it kept a text descender gap below it, and the navbar centered that taller box. The logo container is now a flex box, so the image itself is centered.

Measured in Chrome on a local build: the logo and the link both have their vertical center at 22.2 px (before: 18.9 px and 22.2 px).

As an inline image the logo kept a text descender gap below it, so it sat
about 3 px above the links.
@almogtavor
almogtavor requested a review from Etelis as a code owner November 17, 2026 17:34
@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-18 08:15 UTC

@Etelis
Etelis merged commit 144923b into main Nov 18, 2026
5 checks passed
@Etelis
Etelis deleted the docs-light-mode branch November 18, 2026 08:14
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.

2 participants