Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Refactor code
dominik-zeglene9fa49d26a13
diff --git a/saleor/static/scss/layouts/_checkout.scss b/saleor/static/scss/layouts/_checkout.scssindex dcfb71a1d0..5fdeb90a2d 100644--- a/saleor/static/scss/layouts/_checkout.scss+++ b/saleor/static/scss/layouts/_checkout.scss@@ -87,10 +87,10 @@border-top: 1px solid $gray;padding-top: $global-padding;.input-btn {- .btn {- position: relative;+ .btn-voucher-remove {+ position: relative;+ }}- }}&__tittle {margin-bottom: $global-margin * 2;diff --git a/templates/checkout/snippets/voucher-form.html b/templates/checkout/snippets/voucher-form.htmlindex 53a68462f4..2e5fbb8c75 100644--- a/templates/checkout/snippets/voucher-form.html+++ b/templates/checkout/snippets/voucher-form.html@@ -11,7 +11,7 @@{% csrf_token %}<span>{{ discount.name }}</span><button type="submit"- class="btn btn-link"+ class="btn btn-link btn-voucher-remove"aria-label="{% trans "Remove" context "Checkout voucher form action" %}">{% trans "(Remove)" context "Checkout voucher form action" %}</button>