[bug] write_html: border-left/top/bottom draw a full border on all sides #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: PaperCraft build of 2026-10-17,
write_htmlon an artboard.Expected:
border-left:3px solid var(--x)draws a stroke on the left side only (CSS behaviour).Actual: the node gets a stroke on all four sides. The same happens with
border-topandborder-bottomused as dividers.Repro:
write_htmlwith<div style="border-left:3px solid #5eead4;padding:12px;background:#181825">text</div>into any artboard; screenshot shows a full ring.Workaround: a 4 px wide child frame as an accent bar; a 1 px tall frame as a divider.
Impact: callouts, quote bars, list dividers cannot be drawn directly; the html guide says "one stroke per node" but not that side borders widen to all sides. Per-side stroke widths would fix it.
Fixed in commit
5169fe6and released in v0.3.1.