Make distance between Paragraphs match distance between paragraphs
This commit is contained in:
parent
46f0dcf1b9
commit
5c054b1629
1 changed files with 4 additions and 2 deletions
|
@ -33,11 +33,13 @@
|
|||
margin-right: calc(50% - 50vw + 0.5em);
|
||||
}
|
||||
}
|
||||
//
|
||||
[class^=flow] {
|
||||
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 {
|
||||
margin: $column-gap;
|
||||
margin-left: $column-gap;
|
||||
margin-right: $column-gap;
|
||||
}
|
||||
+ [class^=flow] {
|
||||
h2:first-child {
|
||||
|
|
Loading…
Reference in a new issue