From 376b2670643dfae18e75e69ffc2ad6de42ac1f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Thu, 10 Jul 2025 04:41:57 +0200 Subject: [PATCH] Refactor campaign card layout for improved responsiveness and visual consistency --- templates/twitch/dashboard.html | 52 ++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/templates/twitch/dashboard.html b/templates/twitch/dashboard.html index 9ad2a47..abdc843 100644 --- a/templates/twitch/dashboard.html +++ b/templates/twitch/dashboard.html @@ -21,31 +21,37 @@
{% for campaign in active_campaigns %}
-
-
- {% if campaign.image_url %} - {{ campaign.name }} - {% else %} -
- +
+
+
+ {% if campaign.image_url %} + {{ campaign.name }} + {% else %} +
+ +
+ {% endif %} +
+
+
+
+ {{ campaign.name }}
+
+

+ + {{ campaign.game.display_name }} + +

- {% endif %}
-
-
{{ campaign.name }}
-

- - {{ campaign.game.display_name }} - -

-
- Active - Details -
+
+ Active + Details