[bug] write_html: align-self is ignored although the guide lists it as supported #2

Closed
opened 2026-10-17 22:14:27 +00:00 by masi · 1 comment
Owner

Context: PaperCraft build of 2026-10-17.
Expected: align-self works; html-subset.md lists it under supported layout properties.
Actual: the call succeeds but returns ignoredStyles: ["alignSelf"] and the child keeps stretch/start alignment.
Repro: write_html of a column parent containing <div style="width:40px;height:4px;align-self:center;background:#45475a"></div>.
Workaround: wrap the child in a full-width row with justify-content:center.
Impact: docs and behaviour disagree; centring single children (grab handles, badges) needs the wrapper. Either support it or remove it from the guide.

**Context:** PaperCraft build of 2026-10-17. **Expected:** `align-self` works; `html-subset.md` lists it under supported layout properties. **Actual:** the call succeeds but returns `ignoredStyles: ["alignSelf"]` and the child keeps stretch/start alignment. **Repro:** `write_html` of a column parent containing `<div style="width:40px;height:4px;align-self:center;background:#45475a"></div>`. **Workaround:** wrap the child in a full-width row with `justify-content:center`. **Impact:** docs and behaviour disagree; centring single children (grab handles, badges) needs the wrapper. Either support it or remove it from the guide.
Author
Owner

Fixed in commit 5169fe6 and released in v0.3.1.

Fixed in commit 5169fe6 and released in v0.3.1.
masi closed this issue 2026-10-17 23:04:22 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: masi/papercraft#2