From 88f338185c49023d3d1afd248ca3366a39159fc1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <tomas@imaniti.org>
Date: Wed, 5 Jun 2024 13:57:42 +0200
Subject: [PATCH] update tags, remove unnecessary css classes

---
 .../templates/patterns/molecules/menus/carousel.html | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/majak_uistyleguide/templates/patterns/molecules/menus/carousel.html b/majak_uistyleguide/templates/patterns/molecules/menus/carousel.html
index 7905ce7..c13170f 100644
--- a/majak_uistyleguide/templates/patterns/molecules/menus/carousel.html
+++ b/majak_uistyleguide/templates/patterns/molecules/menus/carousel.html
@@ -51,7 +51,7 @@
         "
         style="box-sizing: border-box"
       >
-        <div
+        <h1
           class="
             {% block text_inner_wrapper_classes %}
               container--wide px-0 h-full flex flex-col justify-end items-start
@@ -60,21 +60,21 @@
           style="box-sizing: border-box"
         >
 
-          <h1 class="mb-4 px-5 flex flex-col text-black block lg:hidden">
+          <div class="mb-4 px-5 flex flex-col text-black lg:hidden">
             <div>{{ mobile_label_first }}</div>
             <div>{{ mobile_label_second }}</div>
             <div>{{ mobile_label_third }}</div>
-          </h1>
+          </div>
 
-          <h1 class="mb-4 px-5 flex flex-col text-black hidden lg:block">
+          <div class="mb-4 px-5 flex-col text-black hidden lg:flex">
             <div>{{ desktop_label_first }}</div>
             <div>{{ desktop_label_second }}</div>
-          </h1>
+          </div>
 
           <div class="ml-4 text-lg group">
             {% include "patterns/atoms/buttons/round_button.html" with button_text=button_text %}
           </div>
-        </div>
+        </h1>
       </div>
     </div>
   </div>
-- 
GitLab