Skip to content

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

Styles and class names fixes

weronkaccc48f870e8c
diff --git a/saleor/static/scss/storefront/components/_cards.scss b/saleor/static/scss/storefront/components/_cards.scss
index ea32d2c9a6..42edb526b7 100644
--- a/saleor/static/scss/storefront/components/_cards.scss
+++ b/saleor/static/scss/storefront/components/_cards.scss
@@ -38,6 +38,7 @@
display: none;
}
.address-delete {
+ margin-top: $global-margin / 4;
.cancel {
line-height: 2rem;
padding-right: $global-padding;
@@ -51,5 +52,10 @@
text-transform: uppercase;
}
}
+ @include media-breakpoint-down(sm) {
+ form {
+ text-align: center;
+ }
+ }
}
}
diff --git a/saleor/static/scss/storefront/components/_forms.scss b/saleor/static/scss/storefront/components/_forms.scss
index 5fe471b949..fd9d4e04ce 100644
--- a/saleor/static/scss/storefront/components/_forms.scss
+++ b/saleor/static/scss/storefront/components/_forms.scss
@@ -108,7 +108,6 @@
}
input#id_quantity {
- min-width: 4rem;
padding: $global-padding / 2;
&:focus {
outline: none;
diff --git a/saleor/static/scss/storefront/layouts/_cart.scss b/saleor/static/scss/storefront/layouts/_cart.scss
index 66bd81d266..96bd243aa7 100644
--- a/saleor/static/scss/storefront/layouts/_cart.scss
+++ b/saleor/static/scss/storefront/layouts/_cart.scss
@@ -10,7 +10,6 @@
margin-top: $global-margin / 2;
@include media-breakpoint-down(sm) {
text-align: right;
- margin-top: $global-margin * 2;
}
}
&__product {
diff --git a/saleor/static/scss/storefront/layouts/_login.scss b/saleor/static/scss/storefront/layouts/_login.scss
index 8e0d5486cb..001ee11501 100644
--- a/saleor/static/scss/storefront/layouts/_login.scss
+++ b/saleor/static/scss/storefront/layouts/_login.scss
@@ -49,7 +49,7 @@
display: block;
}
}
- &__forgott-password {
+ &__forgot-password {
h2 {
padding-top: $global-padding * 2;
text-transform: uppercase;
@@ -73,5 +73,3 @@
}
}
}
-
-
diff --git a/templates/account/password_reset.html b/templates/account/password_reset.html
index baee113b11..872e7f9951 100644
--- a/templates/account/password_reset.html
+++ b/templates/account/password_reset.html
@@ -6,7 +6,7 @@
{% block title %}{% trans "Password reset" context "Password reset page title" %} — {{ block.super }}{% endblock %}
{% block content %}
- <div class="row forgott-password">
+ <div class="row login__forgot-password">
<div class="col-md-8 push-md-2">
<div class="text-center">
</div>
@@ -22,7 +22,7 @@
<input type="hidden" name="next" value="{{ next }}"/>
</fieldset>
<div class="row login__btn-group">
- <div class="col-sm-12">
+ <div class="col-12">
<button class="btn primary narrow">
{% trans "Continue" context "Password reset primary action" %}
</button>
diff --git a/templates/account/password_reset_base.html b/templates/account/password_reset_base.html
index a9a934bcb8..d4feb518e5 100644
--- a/templates/account/password_reset_base.html
+++ b/templates/account/password_reset_base.html
@@ -3,10 +3,9 @@
{% load bootstrap_form from bootstrap3 %}
{% block content %}
- <div class="row forgott-password">
+ <div class="row login__forgot-password">
<div class="col-md-8 push-md-2">
{% block form %}{% endblock form %}
</div>
</div>
-
{% endblock %}
diff --git a/templates/account/password_reset_done.html b/templates/account/password_reset_done.html
index 0a7ff22ac5..a84f1cbd22 100644
--- a/templates/account/password_reset_done.html
+++ b/templates/account/password_reset_done.html
@@ -7,7 +7,7 @@
{% block title %}{% trans "Password Reset" context "Password reset done page title" %}{% endblock %}
{% block form %}
- <div class="ligin__forgott-password">
+ <div class="login__forgot-password">
<h2>{% trans "Password Reset" context "Password reset done title" %}</h2>
{% if user.is_authenticated %}
{% include "account/partials/already_logged_in.html" %}
diff --git a/templates/userprofile/address-delete.html b/templates/userprofile/address-delete.html
index ab82de8a02..d065e2f10f 100644
--- a/templates/userprofile/address-delete.html
+++ b/templates/userprofile/address-delete.html
@@ -5,7 +5,7 @@
<button type="submit" class="btn danger narrow float-right">
{% trans "Delete Address" context "Delete address form action" %}
</button>
- <a class="btn btn-link cancel float-right">
+ <a class="btn btn-link cancel float-md-right">
{% trans "Cancel" context "Delete address form action" %}
</a>
</form>