From a57918abe95c84d85acf85d788afd57734035559 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 12 Dec 2022 18:29:45 +0100
Subject: [PATCH] fix typo mixins

---
 assets/sass/_theme/design-system/typography.sass | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass
index 7cb5b1f9..7dd54ba7 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
-- 
GitLab