Skip to content

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

Fix order list on mobile

Krzysztof Białogłowicz84b2a07bc3ac
diff --git a/saleor/static/scss/storefront/components/_userprofile.scss b/saleor/static/scss/storefront/components/_userprofile.scss
index bce7268940..22ac436593 100644
--- a/saleor/static/scss/storefront/components/_userprofile.scss
+++ b/saleor/static/scss/storefront/components/_userprofile.scss
@@ -42,6 +42,9 @@
transition: 0.3s;
border: 0;
text-transform: uppercase;
+ @include media-breakpoint-down(sm) {
+ padding: $global-padding / 2 $global-padding;
+ }
h3 {
color: $skull-gray;
@include media-breakpoint-down(sm) {
diff --git a/templates/userprofile/details.html b/templates/userprofile/details.html
index 81da889c71..5e0f783c77 100644
--- a/templates/userprofile/details.html
+++ b/templates/userprofile/details.html
@@ -38,7 +38,7 @@
<div class="row">
<div class="col-md-2 col-3"><h3>{% trans "Order" %}</h3></div>
<div class="col-md-3 hidden-sm-down"><h3>{% trans "Date" %}</h3></div>
- <div class="col-md-2 col-3"><h3 class="float-md-right">{% trans "Summary" %}</h3></div>
+ <div class="col-md-2 col-6"><h3 class="float-md-right">{% trans "Summary" %}</h3></div>
<div class="col-md-4 hidden-sm-down"><h3>{% trans "Status" %}</h3></div>
<div class="col-md-1 col-3"></div>
</div>
@@ -53,7 +53,7 @@
<div class="col-md-3 hidden-sm-down">
{{ order.created }}
</div>
- <div class="col-md-2 col-3">
+ <div class="col-md-2 col-6">
<span class="float-md-right">{% gross order.get_total %}</span>
</div>
<div class="col-md-4 hidden-sm-down">