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') }} {{ encore_entry_script_tags('app') }}
{% endblock %} {% endblock %}
</head> </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 %} {% block body %}{% endblock %}
</body> </body>
</html> </html>
+1 -1
View File
@@ -15,7 +15,7 @@
{%- endblock form_row -%} {%- endblock form_row -%}
{%- block form_label -%} {%- block form_label -%}
{% set class = '' %} {% set class = 'font-semibold' %}
{% if errors|length %} {% if errors|length %}
{% set class = class ~ ' text-red-500' %} {% set class = class ~ ' text-red-500' %}
{% endif %} {% endif %}
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="container mb-16" <div class="mb-16"
id="myep" id="myep"
hx-boost="true" hx-boost="true"
hx-indicator="#loading-indicator"> hx-indicator="#loading-indicator">
+2 -3
View File
@@ -16,7 +16,7 @@
{% endif %} {% endif %}
<form action="{{ path('app_login') }}" method="post"> <form action="{{ path('app_login') }}" method="post">
<div class="mb-4"> <div class="mb-4">
<label for="username" class="block mb-1"> <label for="username" class="mb-1 font-semibold">
E-Mail: E-Mail:
</label> </label>
<input type="email" <input type="email"
@@ -25,11 +25,10 @@
value="{{ last_username }}" value="{{ last_username }}"
class="form-field" class="form-field"
required required
autofocus
autocomplete="username"> autocomplete="username">
</div> </div>
<div class="mb-4"> <div class="mb-4">
<label for="password" class="block mb-1 text-gray-900"> <label for="password" class="mb-1 font-semibold">
Passwort: Passwort:
</label> </label>
<input type="password" <input type="password"