Skip to content

Commit

Permalink
update .richtext spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
jenswittmann committed Feb 12, 2024
1 parent 068f059 commit a508a8c
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions dev/css/_contentblocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,28 @@

// richtext
.richtext {
p,
ul,
ol {
margin-top: 0;
margin-bottom: 1em;

* + * {
margin-top: 1em;
}

* + h2,
* + h3 {
margin-top: 2em;
}

ul,
ol {
padding: 0;
padding-left: 1.1em;
}

li + li {
margin-top: .5em;
}

li {
padding-left: 1em;
margin-bottom: 0.5em;
}
h2 + h3 {
margin-top: .5em;
}
}

Expand Down

0 comments on commit a508a8c

Please sign in to comment.