Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Add responsive styles
weronka07dee8c58513
diff --git a/saleor/static/scss/demo/components/_cart.scss b/saleor/static/scss/demo/components/_cart.scssindex 7afd781534..15a895e2e1 100644--- a/saleor/static/scss/demo/components/_cart.scss+++ b/saleor/static/scss/demo/components/_cart.scss@@ -48,22 +48,35 @@}}&__delivery-info {+ margin-top: $global-margin * 2;h3 {display: inline-block;border-bottom: 1px solid $gray;padding-bottom: $global-padding}select {+ border-color: $gray;color: $body-color;margin-left: $global-margin / 2;background-color: $white;&:focus {outline: none;}+ @include media-breakpoint-down(sm) {+ margin-left: 0;+ margin-top: $global-margin / 2;+ display:block;+ width:100%;+ }}&__price {text-align: right;}+ &__list {+ .col-xs-6 {+ padding: 0;+ }+ }}&__empty {text-align: center;diff --git a/templates/cart/index.html b/templates/cart/index.htmlindex aa1ebd57d5..c52df83d6c 100644--- a/templates/cart/index.html+++ b/templates/cart/index.html@@ -105,13 +105,13 @@<h3>{% trans "Delivery options to" %} {{ country_form }}</h3></div><div class="col-md-5 ">- <div class="cart__delivery-list row">- <div class="col-md-6 cart__delivery-info__method">+ <div class="cart__delivery-info__list row">+ <div class="col-xs-6 cart__delivery-info__method">{% for option in default_country_options %}<p>{{ option.shipping_method__name }}</p>{% endfor %}</div>- <div class="col-md-6 cart__delivery-info__price">+ <div class="col-xs-6 cart__delivery-info__price">{% for option in default_country_options %}<p>{% gross option.price %}</p>{% endfor %}