Skip to content

Commit

Permalink
[chores:ui] Increased spacing between label and form inputs in /accou…
Browse files Browse the repository at this point in the history
…nts/login
  • Loading branch information
pandafy authored Nov 22, 2023
1 parent 33545bb commit e5dd5a4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions openwisp_users/accounts/templates/account/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
{% load i18n %}
{% block head_title %}{% trans "Sign In" %}{% endblock %}

{% block extrastyle %}
{{ block.super }}
<style>
#content p label {
margin-right: 5px;
}
</style>
{% endblock extrastyle %}

{% block content %}
<h1>{% trans "Sign In" %}</h1>

Expand All @@ -12,7 +21,9 @@ <h1>{% trans "Sign In" %}</h1>
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<p><input type="submit" class="button" value="{% trans "Sign In" %}" /></p>
<p><a class="button" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a></p>
<div class="form-row submit-row">
<input type="submit" class="button" value="{% trans "Sign In" %}" />
<a class="button" href="{% url 'account_reset_password' %}">{% trans "Forgot Password?" %}</a>
</div>
</form>
{% endblock %}

1 comment on commit e5dd5a4

@nemesifier
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pandafy can you see the same situation in the accounts/login page?

Screenshot from 2023-11-24 14-59-33

Please sign in to comment.