From 3a1677736ce5e6de38ccc0ef190267abed588b8c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <tomas@imaniti.org>
Date: Thu, 23 May 2024 16:39:15 +0200
Subject: [PATCH] update buttons, migrate teplates

---
 .../includes/atoms/buttons/round_button_small.html            | 4 +++-
 .../includes/molecules/articles/small_article_preview.html    | 2 +-
 .../includes/molecules/contact/contact_person_large_box.html  | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/shared/templates/styleguide2/includes/atoms/buttons/round_button_small.html b/shared/templates/styleguide2/includes/atoms/buttons/round_button_small.html
index 9570967a..00740a20 100644
--- a/shared/templates/styleguide2/includes/atoms/buttons/round_button_small.html
+++ b/shared/templates/styleguide2/includes/atoms/buttons/round_button_small.html
@@ -1,3 +1,5 @@
 {% extends 'styleguide2/includes/atoms/buttons/round_button.html' %}
 
-{% block size_classes %}text-sm pl-7 pr-2 py-2{% endblock %}
+{% block size_classes %}
+  text-sm pl-7 pr-2 py-2
+{% endblock %}
diff --git a/shared/templates/styleguide2/includes/molecules/articles/small_article_preview.html b/shared/templates/styleguide2/includes/molecules/articles/small_article_preview.html
index d212bc65..dc18efa3 100644
--- a/shared/templates/styleguide2/includes/molecules/articles/small_article_preview.html
+++ b/shared/templates/styleguide2/includes/molecules/articles/small_article_preview.html
@@ -12,6 +12,6 @@
       </h4>
     </div>
 
-    {% include 'styleguide2/includes/atoms/buttons/round_button_small.html' with text='Číst dále' %}
+    {% include 'styleguide2/includes/atoms/buttons/round_button_small.html' with show_arrow_on_hover=True text='Číst dále' %}
   </div>
 </div>
diff --git a/shared/templates/styleguide2/includes/molecules/contact/contact_person_large_box.html b/shared/templates/styleguide2/includes/molecules/contact/contact_person_large_box.html
index db261d90..02c14a1b 100644
--- a/shared/templates/styleguide2/includes/molecules/contact/contact_person_large_box.html
+++ b/shared/templates/styleguide2/includes/molecules/contact/contact_person_large_box.html
@@ -56,7 +56,7 @@
 
         {% if url %}
           <div class="flex mt-5">
-            {% include 'styleguide2/includes/atoms/buttons/round_button_small.html' with url=url button_text='Detail osoby' %}
+            {% include 'styleguide2/includes/atoms/buttons/round_button_small.html' with url=url text='Detail osoby' show_arrow_on_hover=True %}
           </div>
         {% endif %}
       </div>
-- 
GitLab