Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix centering

dominik-zeglenc204c3a00316
diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html
index 872e7f9951..faaff4da92 100644
--- a/templates/account/password_reset.html
+++ b/templates/account/password_reset.html
@@ -7,9 +7,7 @@
{% block content %}
<div class="row login__forgot-password">
- <div class="col-md-8 push-md-2">
- <div class="text-center">
- </div>
+ <div class="col-md-8 m-auto text-center">
<form method="post" novalidate>
{% csrf_token %}
<h2>{% trans "Forgot your password?" context "Password reset form title" %}</h2>
diff --git a/templates/account/password_reset_base.html b/templates/account/password_reset_base.html
index d4feb518e5..04c8ff0bc5 100644
--- a/templates/account/password_reset_base.html
+++ b/templates/account/password_reset_base.html
@@ -4,7 +4,7 @@
{% block content %}
<div class="row login__forgot-password">
- <div class="col-md-8 push-md-2">
+ <div class="col-md-8 m-auto text-center">
{% block form %}{% endblock form %}
</div>
</div>
diff --git a/templates/account/password_reset_from_key_done.html b/templates/account/password_reset_from_key_done.html
index 7ef4ebe766..b002b6fdd6 100644
--- a/templates/account/password_reset_from_key_done.html
+++ b/templates/account/password_reset_from_key_done.html
@@ -4,7 +4,7 @@
{% block title %}{% trans "Password Changed" context "Password reset from key done page title" %}{% endblock %}
{% block form %}
- <h2 class="text-center">{% trans "Password Changed" context "Password reset from key done title" %}</h2>
+ <h2>{% trans "Password Changed" context "Password reset from key done title" %}</h2>
{% url "account_login" as login_url %}
<p>{% trans 'Your password is now changed.' %}
{% blocktrans trimmed with login_url=login_url context "Password reset from key done text" %}