Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add scss for clear_cart button, fix spelling button name
TOMEK0a5184301da7
diff --git a/saleor/static/scss/layouts/_cart.scss b/saleor/static/scss/layouts/_cart.scssindex 1d738e8cc0..4c755e186b 100644--- a/saleor/static/scss/layouts/_cart.scss+++ b/saleor/static/scss/layouts/_cart.scss@@ -100,4 +100,12 @@width: 100%;}}+ &__clear{+ @media (min-width: 470px) {+ margin-right: 1rem;+ }+ @media (max-width: 370px) {+ width: 100%;+ }+ }}diff --git a/templates/checkout/index.html b/templates/checkout/index.htmlindex cf4b52880a..ea2ee06b86 100644--- a/templates/checkout/index.html+++ b/templates/checkout/index.html@@ -77,11 +77,11 @@</div><div class="row"><div class="col-md-12">- <a href="{% url "checkout:login" %}" class="btn primary float-right cart__submit">+ <a href="{% url "checkout:login" %}" class="btn primary float-right cart__submit">{% trans "Checkout" context "Cart primary action" %}</a>- <button class="btn secondary float-right mr-3 cart__clear" data-action="{% url 'cart:clear-cart' %}">- {% trans "Clear Cart" context "cart page: secondary action, empty the cart" %}+ <button class="btn secondary float-right cart__clear" data-action="{% url 'cart:clear-cart' %}">+ {% trans "Clear cart" context "cart page: secondary action, empty the cart" %}</button></div></div>