From dc6c295ee7fca26a691f5fd5314c9c953205b304 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 18 Feb 2023 22:36:26 +0100 Subject: [PATCH] Fix form styling --- frontend/src/index.css | 10 +++++++++- games/templates/add.html | 14 ++++++-------- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 539a4ec..6d7bc5b 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -19,4 +19,12 @@ textarea { #button-container button { @apply mx-1; -} \ No newline at end of file +} + +th { + @apply text-left; +} + +th label { + @apply mr-4; +} diff --git a/games/templates/add.html b/games/templates/add.html index 3da44b1..c2f3ce0 100644 --- a/games/templates/add.html +++ b/games/templates/add.html @@ -6,14 +6,12 @@ {% block content %}
- {% csrf_token %} - {{ form.as_table }} - - - - + {% csrf_token %} + + {{ form.as_table }} + + +
- -
{% endblock content %}