Commit bf6ebae
committed
Space code blocks from the paragraph that follows
Bulma gives a pre a bottom margin only when it is not the last child of
its parent. Rouge wraps every fenced block in two divs with the pre as
the only child, so the margin never applied and a code block sat flush
against the next paragraph, while the paragraph before it kept its own
margin above the block. The wrapper now takes the 1em Bulma meant for
the pre, so both sides match.1 parent 43dd681 commit bf6ebae
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
603 | 611 | | |
604 | 612 | | |
605 | 613 | | |
| |||
0 commit comments