diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass index 7cb5b1f9cf2bb52e01be5948d0104e8b22117d0f..7dd54ba73a2341454edb81e07347723a91dcd390 100644 --- a/assets/sass/_theme/design-system/typography.sass +++ b/assets/sass/_theme/design-system/typography.sass @@ -159,11 +159,18 @@ p small, .small @include small + +@mixin rich-text + h1, h2, h3, h4, h5, h6, p + margin-top: 2em + &:first-child, meta + & + margin-top: 0 + +.rich-text + @include rich-text + [itemprop="articleBody"] - h1, h2, h3, h4, h5, h6 - margin-block-start: 2em - &:first-child, meta + & - margin-block-start: 0 + @include rich-text @mixin blockquote margin: 0