Commit 548df24
committed
fix: stop heading overlapping an image that directly follows it
The -10px negative margin-bottom on h2/h3 (meant to tighten heading-to-paragraph spacing) had no line-height leading to absorb it when the next sibling was a bare <img>, so the image overlapped the heading. Restore a normal 16px gap for the heading-directly-followed-by-image case via :has(+ img).1 parent a0232e0 commit 548df24
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
71 | 78 | | |
72 | 79 | | |
73 | 80 | | |
| |||
0 commit comments