Skip to content

v1.28.1 — forest-editorial timeline padding

Latest

Choose a tag to compare

@kaisersong kaisersong released this 12 Aug 06:03

The bug

forest-editorial is the only theme that boxes .timeline-content — surface fill, border, 17px radius, soft shadow. But shared.css gives that element only color and line-height, so the theme was styling a capsule with no interior padding: text sat flush against the wall and the corner curve clipped it. Visible in any forest-editorial report containing a timeline.

The fix

padding: .75rem 1.1rem on .timeline-content. The horizontal value is deliberately at least the 17px corner radius so the first glyph clears the curve, and it matches the theme's other card surfaces (.chart-container, .callout).

Measured after the fix rather than eyeballed — text insets 19px left, 23px right, 16px top inside the capsule, no overflow in either direction.

Regression test

tests/test_forest_editorial_anchor.py now asserts the general rule rather than the specific number: a boxed timeline capsule's horizontal padding may never be smaller than its corner radius.

This is the class of defect a marker check cannot catch — every declaration involved was present and correct; the composition was wrong. Same lesson as the v1.26.1 anchor-block bug.

Scope

Predates the cover work; it shipped with the theme in v1.25.0. Both forest-editorial preview decks were updated and still pass the quality gate with zero findings. scripts/verify-release.py — 7/7 passed.

Full diff: v1.28.0...v1.28.1