Skip to content

fix(cards): align notes with the title, keep list numbers inside - #190

Merged
sorenwacker merged 1 commit into
mainfrom
fix/card-notes-alignment
Oct 13, 2026
Merged

sorenwacker merged 1 commit into
mainfrom
fix/card-notes-alignment

Conversation

@sorenwacker

Copy link
Copy Markdown
Owner

Card notes were padded 24px on the left while the title row used the card size's own padding, so note text sat visibly right of the title. Both now take their horizontal padding from one per-size value (--card-pad-x), so they cannot drift apart.

A line such as "260720. The root disk ..." is an ordered list in Markdown. With the marker rendered outside the box and a fixed 1.2em indent, a six-digit number hung past the card's left edge and overlapped the card. Ordered-list markers in card notes now render inside the box.

Also removes two .node-card-notes rules no template referenced.

Tests: three new cases in cardNotes.test.js, proven red before the fix. Full suite, lint, prettier and vue-tsc pass.

@sorenwacker
sorenwacker merged commit 555d207 into main Oct 13, 2026
7 checks passed
@sorenwacker
sorenwacker deleted the fix/card-notes-alignment branch October 13, 2026 13:51
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.

1 participant