Make distance between Paragraphs match distance between paragraphs

This commit is contained in:
benjamin melançon 2019-01-28 21:35:52 -05:00
parent 46f0dcf1b9
commit 5c054b1629

View file

@ -33,11 +33,13 @@
margin-right: calc(50% - 50vw + 0.5em); margin-right: calc(50% - 50vw + 0.5em);
} }
} }
//
[class^=flow] { [class^=flow] {
box-sizing: border-box; box-sizing: border-box;
margin-top: 1rem; // Top and bottom will collapse to 1em if two paragraphs
margin-bottom: 1rem; // in a row, matching the p bottom margin.
@include tablet { @include tablet {
margin: $column-gap; margin-left: $column-gap;
margin-right: $column-gap;
} }
+ [class^=flow] { + [class^=flow] {
h2:first-child { h2:first-child {