Refactor post-body to use flexbox gap
Created by: jedmund
Summary
- Replace vertical margins with
display: flex; flex-direction: column; gapon.post-body - Extra
margin-topon headings, blockquotes, hrs, and figures to preserve visual rhythm - Lists and blockquotes also use flex gap internally
- Hide empty
<figcaption>elements with:empty
Test plan
-
Check a post with mixed content (headings, paragraphs, images, videos, blockquotes, code blocks, lists, embeds) and verify spacing looks the same -
Verify no new type errors