From d9f3d07dd7b1964607867fd8c2e4205b67646cee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhn-Vitus=20Sa=C3=9F?= Date: Sun, 6 Apr 2025 20:18:30 +0200 Subject: [PATCH] Filter fix --- django/static/css/t-input.css | 9 ++++++ django/templates/library/overview_quiz.html | 36 +++++++-------------- 2 files changed, 20 insertions(+), 25 deletions(-) diff --git a/django/static/css/t-input.css b/django/static/css/t-input.css index 002f4e0..5dbd930 100644 --- a/django/static/css/t-input.css +++ b/django/static/css/t-input.css @@ -101,6 +101,15 @@ div.qp-answer-container-host div p { @apply font-black text-xl p-4; } +/* Filter Panel Styles */ +#filterPanel { + @apply hidden transition-all duration-300 ease-in-out; +} + +#filterPanel.show { + @apply block; +} + div.qp-question-container { @apply text-center text-3xl px-4 py-9 h-screen; } diff --git a/django/templates/library/overview_quiz.html b/django/templates/library/overview_quiz.html index 10d9a5e..955cb27 100644 --- a/django/templates/library/overview_quiz.html +++ b/django/templates/library/overview_quiz.html @@ -18,18 +18,6 @@ align-items: center; } - #filterPanel { - transition: all 0.3s ease-in-out; - max-height: 0; - overflow: hidden; - opacity: 0; - } - - #filterPanel.show { - max-height: 500px; - opacity: 1; - } - .custom-outline { -webkit-text-stroke: 0.2px rgb(0, 0, 0); } @@ -39,7 +27,7 @@ {% block content %}
-
-
+
@@ -88,18 +76,8 @@
- +{% if user.is_authenticated %}

Eigene Quiz

@@ -248,6 +226,7 @@ document.addEventListener('DOMContentLoaded', function() {
{% endif %}
+{% endif %}
@@ -389,4 +368,11 @@ document.addEventListener('DOMContentLoaded', function() {

Keine öffentlichen Quiz gefunden.

{% endif %} + {% endblock content %}