logseq / logseq/db-test

Checkbox misalignment when used inline with links/pages

Open
#772 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

can't reproduce
Dominant language
No language data
Stars
28
Forks
2
PR merge metrics
No merged PRs in 30d

Description

### Search first

- [x] I searched and no similar issues were found

### What Happened?

When checkboxes are used inline alongside page references (e.g., [[Page Name]]), the vertical alignment appears inconsistent. The checkbox and the linked page text are not properly aligned on the same baseline.

This results in uneven spacing and visual misalignment within the line.

### Reproduce the Bug

Example:
A line such as:

This is seen along with other conditions: [ ] [[CKD]], [ ] [[Primary Hyperaldosteronism]], Reno-vascular: [ ] [[Renal Artery Stenosis]], [ ] [[Cushing's Syndrome]], [ ] [[Pheochromocytoma]]

causes the checkboxes and page references to appear slightly misaligned.

### Expected Behavior

Checkboxes and page references should align on the same baseline so that the line appears visually consistent.

### Files

Image

### Browser, Desktop or Mobile Platform Information

MacOS
Logseq version: 2.0.0 [a0b1093]

### Additional Context

_No response_

### Are you willing to submit a PR? If you know how to fix the bug.

- [ ] I'm willing to submit a PR (Thank you!)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the inline checkbox and page-reference example in Logseq 2.0.0 on macOS, then trace the rendering path for these inline elements. The issue names no source files or tests, so inspect the relevant frontend styling and rendering code. Done means the checkbox and linked page text share a consistent baseline without disrupting other inline content.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.