Repository navigation
fix: align left sidebar navigation icon and text - #13326
Merged
Merged
Conversation
Match nav item line-height to the 16px icon so labels no longer sit 2px higher. Co-authored-by: Tienson Qin <[email protected]>
tiensonqin
force-pushed
the
logseq/fix-sidebar-nav-icon-align-91b3
branch
from
September 21, 2026 10:30
6e90b84 to
55c8e4d
Compare
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 1, 2026
Match nav item line-height to the 16px icon so labels no longer sit 2px higher. Co-authored-by: Cursor Agent <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
Match nav item line-height to the 16px icon so labels no longer sit 2px higher. Co-authored-by: Cursor Agent <[email protected]>
devin-ai-integration Bot
pushed a commit
that referenced
this pull request
Oct 8, 2026
Match nav item line-height to the 16px icon so labels no longer sit 2px higher. Co-authored-by: Cursor Agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes logseq/db-test#1238
Left sidebar Navigations rows (
Journals,Flashcards,Pages,Graph view) showed labels sitting higher than their icons.a.itemis a 32px flex row withitems-center. The 16px.ui__iconis centered attop: 8px, whiletext-smgives the label a 20px line box centered attop: 6px. The extra 2px of line-height makes the text sit optically above the icon.This change matches the nav label line-height to the 16px icon (
leading-4) and keeps the icon in a 16×16 centered box.Measured on the web app (Playwright / Chrome):
Before
Before: sidebar nav labels sit 2px higher than icons
After
After: sidebar nav icons and labels share the same 16px row alignment
Test plan
To show artifacts inline, enable in settings.