From d12427ece9377c989b8d8e4ba16ea6c7df8b9f8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Tue, 24 Jan 2023 21:56:11 +0100
Subject: [PATCH] prepare for new styleguide

---
 uniweb/templates/uniweb/base.html         | 4 ++--
 uniweb/templates/uniweb/blocks/chart.html | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/uniweb/templates/uniweb/base.html b/uniweb/templates/uniweb/base.html
index ca461fe2..fb7a3aa1 100644
--- a/uniweb/templates/uniweb/base.html
+++ b/uniweb/templates/uniweb/base.html
@@ -14,8 +14,8 @@
   {% include "shared/favicon_snippet.html" %}
 
   <!-- Styles -->
-  <link href="https://styleguide.pirati.cz/2.3.x/css/styles.css" rel="stylesheet" media="all" />
-  <link href="https://styleguide.pirati.cz/2.3.x/css/pattern-scaffolding.css" rel="stylesheet" media="all" />
+  <link href="https://styleguide.pirati.cz/2.11.x/css/styles.css" rel="stylesheet" media="all" />
+  <link href="https://styleguide.pirati.cz/2.11.x/css/pattern-scaffolding.css" rel="stylesheet" media="all" />
   <link href="{% static "shared/vendor/fancybox/jquery.fancybox.min.css" %}" rel="stylesheet">
 
   <style type="text/css">
diff --git a/uniweb/templates/uniweb/blocks/chart.html b/uniweb/templates/uniweb/blocks/chart.html
index f656a739..d2530741 100644
--- a/uniweb/templates/uniweb/blocks/chart.html
+++ b/uniweb/templates/uniweb/blocks/chart.html
@@ -4,9 +4,9 @@
 
 <script src="{% static "uniweb/vendor/chart.umd.4.2.0.js" %}"></script>
 
-<div>
+<div class="py-4">
     <canvas
-        class="h-96"
+        class="lg:h-120 lg:w-auto w-full mx-auto"
         id="{{ block_id }}"
     ></canvas>
 </div>
-- 
GitLab