From c188c3d876e991082a05e1af13420f7f78fdfbda Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 23 Jan 2023 12:53:08 +0100
Subject: [PATCH] fix block top title

---
 assets/sass/_theme/blocks/base.sass  | 6 +++---
 assets/sass/_theme/blocks/pages.sass | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/assets/sass/_theme/blocks/base.sass b/assets/sass/_theme/blocks/base.sass
index 67aa545c..bea6b3ba 100644
--- a/assets/sass/_theme/blocks/base.sass
+++ b/assets/sass/_theme/blocks/base.sass
@@ -2,15 +2,15 @@
     padding-top: $spacing3
     padding-bottom: $spacing3
     // Mobile & full-width
-    h2, h3
+    h2
         @include h2
     // Desktop with sidebar
     @include media-breakpoint-up(desktop)
         @include in-page-without-sidebar
-            h2, h3
+            h2
                 @include h5
     .top
-        h2, h3
+        h2:not(.hidden)
             + .description
                 margin-top: $spacing1
                 @include media-breakpoint-up(desktop)
diff --git a/assets/sass/_theme/blocks/pages.sass b/assets/sass/_theme/blocks/pages.sass
index 9a0e218f..851d2b3f 100644
--- a/assets/sass/_theme/blocks/pages.sass
+++ b/assets/sass/_theme/blocks/pages.sass
@@ -140,7 +140,6 @@
                     @include meta
                     @include icon(arrow, before, true)
                         padding-right: $spacing0
-                        
                     @include hover-translate-icon(before, 5)
                     @include link
                     text-decoration-color: rgba(0,0,0,0)
-- 
GitLab