Skip to content

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

Fixed variables

dominik-zeglen802e5b3665ce
diff --git a/saleor/static/scss/components/_buttons.scss b/saleor/static/scss/components/_buttons.scss
index 90cedbe901..9ac5e0f5b7 100644
--- a/saleor/static/scss/components/_buttons.scss
+++ b/saleor/static/scss/components/_buttons.scss
@@ -12,7 +12,7 @@ a.btn {
white-space: normal;
&.home__button {
text-transform: uppercase;
- font-size: $font-size-h3;
+ font-size: $h3-font-size;
color: $white;
background-color: transparent;
border: 1px solid $white;
diff --git a/saleor/static/scss/variables.scss b/saleor/static/scss/variables.scss
index 93b594a7f9..0e0bf9451d 100644
--- a/saleor/static/scss/variables.scss
+++ b/saleor/static/scss/variables.scss
@@ -19,6 +19,6 @@ $beige: #FFFAEC;
// TYPOGRAPHY
$font-family-sans-serif: 'Lato', sans-serif;
-$font-size-h1: 3rem;
-$font-size-h2: 1.3rem;
-$font-size-h3: 1rem;
+$h1-font-size: 3rem;
+$h2-font-size: 1.3rem;
+$h3-font-size: 1rem;
diff --git a/templates/cart/index.html b/templates/cart/index.html
index 776568189b..551df87565 100644
--- a/templates/cart/index.html
+++ b/templates/cart/index.html
@@ -15,7 +15,7 @@
{% endblock breadcrumb %}
{% block content %}
-<div class="alert alert-success hidden-xs-up remove-product-alert">
+<div class="alert alert-success d-block d-sm-none remove-product-alert">
{% trans "Product has been deleted from cart" context "Cart message" %}
<button type="button" class="close close-msg" aria-hidden="true">&times;</button>
</div>
@@ -39,8 +39,8 @@
<div class="row">
<div class="col-7 cart__line__product">
<a class="link--clean" href="{{ line.variant.get_absolute_url }}">
- <img src="{% get_thumbnail line.variant.product.images.first.image method="crop" size="60x60" %}"
- srcset="{% get_thumbnail line.variant.product.images.first.image method="crop" size="60x60" %} 1x, {% get_thumbnail line.variant.product.images.first.image method="crop" size="120x120" %} 2x"
+ <img src="{% get_thumbnail line.variant.product.images.first.image method="crop" size="60x60" %}"
+ srcset="{% get_thumbnail line.variant.product.images.first.image method="crop" size="60x60" %} 1x, {% get_thumbnail line.variant.product.images.first.image method="crop" size="120x120" %} 2x"
alt="">
<p>{{ line.variant.product }}
<br><small>{{ line.variant }}</small></p>