Skip to content

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

Fix indetation and padding bug in mobile

Krzysztof Białogłowicz876edd68facb
diff --git a/saleor/static/scss/dashboard/components/_list.scss b/saleor/static/scss/dashboard/components/_list.scss
index dc28c72f03..b2e1cb2dc1 100644
--- a/saleor/static/scss/dashboard/components/_list.scss
+++ b/saleor/static/scss/dashboard/components/_list.scss
@@ -1,5 +1,5 @@
@mixin list {
- overflow: visible;
+ width: 100%;
.collection {
&-item {
@@ -9,7 +9,7 @@
padding: 10px 20px 0px 20px;
}
&:hover {
- background: $collection-hover-bg-color;
+ background: #f2f2f2;
}
}
}
diff --git a/templates/dashboard/product/stock_locations/list.html b/templates/dashboard/product/stock_locations/list.html
index b164e102b9..98b10d03ab 100644
--- a/templates/dashboard/product/stock_locations/list.html
+++ b/templates/dashboard/product/stock_locations/list.html
@@ -36,7 +36,7 @@
<li class="collection-item list-item">
<a href="{% url 'dashboard:product-stock-location-edit' location.pk %}">
<p class="list-item-name--single">
- {{ location }}
+ {{ location }}
</p>
</a>
</li>