From 8c5fbfec630676d660e54bc9564a9f89e5314597 Mon Sep 17 00:00:00 2001
From: Marie Birner <mb@studiomitte.com>
Date: Thu, 9 Nov 2023 21:02:21 +0100
Subject: [PATCH] [BUGFIX] filter issues

---
 frontend/scss/components/_important.scss | 4 ++++
 frontend/tailwind.config.cjs             | 1 -
 templates/index.html.tera                | 4 ++--
 3 files changed, 6 insertions(+), 3 deletions(-)
 create mode 100644 frontend/scss/components/_important.scss

diff --git a/frontend/scss/components/_important.scss b/frontend/scss/components/_important.scss
new file mode 100644
index 0000000..7d2e869
--- /dev/null
+++ b/frontend/scss/components/_important.scss
@@ -0,0 +1,4 @@
+.rounded-t-none-important {
+    border-top-left-radius: 0px !important;
+    border-top-right-radius: 0px !important;
+}
diff --git a/frontend/tailwind.config.cjs b/frontend/tailwind.config.cjs
index bf9ec7b..3510e01 100644
--- a/frontend/tailwind.config.cjs
+++ b/frontend/tailwind.config.cjs
@@ -40,7 +40,6 @@ export default {
     },
   },
   plugins: [],
-  important: true,
   darkMode: 'class',
 }
 
diff --git a/templates/index.html.tera b/templates/index.html.tera
index 8827b93..6968066 100644
--- a/templates/index.html.tera
+++ b/templates/index.html.tera
@@ -118,7 +118,7 @@
 													{% if loggedin_user.is_admin %}
 														<form action="/join/{{ planned_event.trip_details_id }}" method="get" />
 															{{ macros::input(label='Gast', class="input rounded-t", name='user_note', type='text', required=true) }}
-															<input value="Gast hinzufügen" class="btn btn-primary w-full !rounded-t-none" type="submit"/>
+															<input value="Gast hinzufügen" class="btn btn-primary w-full rounded-t-none-important" type="submit"/>
 														</form>
 													{% endif %}
 
@@ -217,7 +217,7 @@
 													{% if trip.cox_id == loggedin_user.id %}
 														<form action="/join/{{ trip.trip_details_id }}" method="get" />
 															{{ macros::input(label='Gast', class="input rounded-t", name='user_note', type='text', required=true) }}
-															<input value="Gast hinzufügen" class="btn btn-primary w-full !rounded-t-none" type="submit"/>
+															<input value="Gast hinzufügen" class="btn btn-primary w-full rounded-t-none-important" type="submit"/>
 														</form>
 													{% endif %}
 												{% endif %}