Skip to content

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

Fix indent, missing space and headers

Krzysztof Białogłowicz673a23cc9107
diff --git a/saleor/static/scss/storefront/components/_login.scss b/saleor/static/scss/storefront/components/_login.scss
index 6d0639f3c0..c0d15925cf 100644
--- a/saleor/static/scss/storefront/components/_login.scss
+++ b/saleor/static/scss/storefront/components/_login.scss
@@ -1,7 +1,6 @@
.login {
padding-top: $global-padding * 2;
- h2 {
- font-size: 1rem;
+ h3 {
text-transform: uppercase;
text-align: center;
margin-bottom: $global-margin * 2;
diff --git a/saleor/static/scss/storefront/components/_userprofile.scss b/saleor/static/scss/storefront/components/_userprofile.scss
index 43af94069c..7bd516e154 100644
--- a/saleor/static/scss/storefront/components/_userprofile.scss
+++ b/saleor/static/scss/storefront/components/_userprofile.scss
@@ -93,7 +93,7 @@
.btn {
margin-top: $global-margin;
float: right;
- padding: $global-padding /2 $global-padding * 2;
+ padding: $global-padding / 2 $global-padding * 2;
text-transform: uppercase;
font-size: 1rem;
}
diff --git a/templates/account/login.html b/templates/account/login.html
index cdd90a8572..bf97d62ec0 100644
--- a/templates/account/login.html
+++ b/templates/account/login.html
@@ -10,7 +10,7 @@
<div class="row">
<div class="col-md-6 login__register">
<div class="login__register-link">
- <h2>{% trans "Don't have an account yet?" %}</h2>
+ <h3>{% trans "Don't have an account yet?" %}</h3>
<img src="{% static 'images/pirate_login.png' %}" srcset="{% static 'images/pirate_login.png' %} 1x, {% static 'images/pirate_login2x.png' %} 2x">
<button href="{{ signup_url }}" class="btn secondary">{% trans "Register" %}</button>
</div>
diff --git a/templates/account/partials/login_form.html b/templates/account/partials/login_form.html
index 3f3af19d7a..433b26ca33 100644
--- a/templates/account/partials/login_form.html
+++ b/templates/account/partials/login_form.html
@@ -5,7 +5,7 @@
<form method="post" action="{% url 'account_login' %}" novalidate>
{% csrf_token %}
<fieldset>
- <h2>{% trans 'Log in' %}</h2>
+ <h3>{% trans 'Log in' %}</h3>
{% bootstrap_form form %}
{% if redirect_field_value %}
<input type="hidden" name="next" name="{{ redirect_field_name }}"
diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html
index 2ed785318f..abf5dd473f 100644
--- a/templates/account/password_reset_done.html
+++ b/templates/account/password_reset_done.html
@@ -7,10 +7,8 @@
{% block form %}
<h1>{% trans "Password Reset" %}</h1>
-
{% if user.is_authenticated %}
- {% include "account/snippets/already_logged_in.html" %}
+ {% include "account/snippets/already_logged_in.html" %}
{% endif %}
-
<p>{% blocktrans %}We have sent you an e-mail. Please contact us if you do not receive it within a few minutes.{% endblocktrans %}</p>
{% endblock %}