From 6077d281e4cfaba0a80c47edab82c38a01f1a225 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Wed, 10 Jan 2024 12:21:41 +0100
Subject: [PATCH] update centered max-w-800px image template

---
 donate/static/donate/assets/css/style.css | 8 ++------
 shared/image_formats.py                   | 2 +-
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/donate/static/donate/assets/css/style.css b/donate/static/donate/assets/css/style.css
index 8fbd7a61..ea1049a4 100644
--- a/donate/static/donate/assets/css/style.css
+++ b/donate/static/donate/assets/css/style.css
@@ -1231,12 +1231,8 @@ img.full-width {
     margin-bottom: 1.5rem
 }
 
-.max-w-\[800px\] {
-    max-width: 800px
-}
-
-.lg\:max-w-full{
-    max-width: 100%
+.w-full {
+    width: 100%
 }
 
 .float-left{
diff --git a/shared/image_formats.py b/shared/image_formats.py
index 6bc6e155..66ca88d7 100644
--- a/shared/image_formats.py
+++ b/shared/image_formats.py
@@ -4,7 +4,7 @@ register_image_format(
     Format(
         "tailwind_center_800",
         "šablona: Uprostřed (max 800px)",
-        "mx-auto my-6 max-w-[800px] lg:max-w-full object-contain",
+        "w-full mx-auto my-6 object-contain",
         "max-800x800",
     )
 )
-- 
GitLab