mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Lists previously had a static marginVertical that stacked with paragraph.marginBottom, producing 20px gaps and oversized whitespace around paragraphs sandwiched between lists. Spacing is now context-aware via the render rule: list -> list keeps the normal paragraph gap (back-to-back lists read as continuous content) while p <-> list transitions get a slightly larger gap (lists read as their own section). Static margins can't satisfy both because RN doesn't collapse margins, so the bullet_list / ordered_list rule inspects the next sibling type and picks marginBottom accordingly.