Checkbox misalignment when used inline with links/pages
Nobody has claimed this yet.
- 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
### 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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