Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Keep form at 100%
Patryk Zawadzkieba667d2272e
diff --git a/saleor/checkout/templates/checkout/details.html b/saleor/checkout/templates/checkout/details.htmlindex 797989ba1b..0f812e20db 100644--- a/saleor/checkout/templates/checkout/details.html+++ b/saleor/checkout/templates/checkout/details.html@@ -113,7 +113,7 @@{% else %}<td colspan="2"><form action="{% url "checkout:add-voucher" %}?next={{ request.get_full_path }}"- method="post" class="form-inline text-center">+ method="post" class="form-flex">{% csrf_token %}{% bootstrap_form voucher_form layout="inline" %}{% bootstrap_button _("Apply") button_type="submit" button_class="btn-primary" %}diff --git a/saleor/static/scss/_app.scss b/saleor/static/scss/_app.scssindex 4f1b58f06c..4c9904a943 100644--- a/saleor/static/scss/_app.scss+++ b/saleor/static/scss/_app.scss@@ -226,3 +226,12 @@ $icon-font-path: "../fonts/";}}}++.form-flex {+ display: flex;+ .form-group {+ flex-grow: 1;+ margin-bottom: 0;+ margin-right: 8px;+ }+}