From 6e9c2a585f4a9826e7ad6cad81312e2cba2cffce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <tomas@imaniti.org> Date: Mon, 26 Feb 2024 17:20:01 +0100 Subject: [PATCH] dont wrap button text --- lectures/templates/lectures/view_lecture.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lectures/templates/lectures/view_lecture.html b/lectures/templates/lectures/view_lecture.html index 06b7189..0090415 100644 --- a/lectures/templates/lectures/view_lecture.html +++ b/lectures/templates/lectures/view_lecture.html @@ -32,7 +32,7 @@ {% if user.is_authenticated %} <button id="set-rsvp" - class="font-alt text-lg bg-black text-white px-5 py-2 duration-100 hover:bg-white hover:text-black" + class="font-alt text-lg bg-black text-white px-5 py-2 duration-100 whitespace-nowrap hover:bg-white hover:text-black" data-url="{% url "lectures:rsvp_lecture" lecture.id %}" > {% if not user|is_registered:lecture %} -- GitLab