chore: improve form styles

This commit is contained in:
Björn Fromme
2024-12-04 10:22:38 +01:00
parent 2454cfa682
commit b2c4952e3f
4 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
{{ encore_entry_script_tags('app') }}
{% endblock %}
</head>
<body class="bg-white text-gray-700 font-sans antialiased">
<body class="bg-white text-gray-700 font-sans antialiased scroll-mt-[128px]">
{% block body %}{% endblock %}
</body>
</html>
+1 -1
View File
@@ -15,7 +15,7 @@
{%- endblock form_row -%}
{%- block form_label -%}
{% set class = '' %}
{% set class = 'font-semibold' %}
{% if errors|length %}
{% set class = class ~ ' text-red-500' %}
{% endif %}
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="container mb-16"
<div class="mb-16"
id="myep"
hx-boost="true"
hx-indicator="#loading-indicator">
+2 -3
View File
@@ -16,7 +16,7 @@
{% endif %}
<form action="{{ path('app_login') }}" method="post">
<div class="mb-4">
<label for="username" class="block mb-1">
<label for="username" class="mb-1 font-semibold">
E-Mail:
</label>
<input type="email"
@@ -25,11 +25,10 @@
value="{{ last_username }}"
class="form-field"
required
autofocus
autocomplete="username">
</div>
<div class="mb-4">
<label for="password" class="block mb-1 text-gray-900">
<label for="password" class="mb-1 font-semibold">
Passwort:
</label>
<input type="password"