Skip to content

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

Fix add to cart and quantity mobile width

Krzysztof Białogłowicz36ef65ef97cf
diff --git a/saleor/static/scss/layouts/_product-page.scss b/saleor/static/scss/layouts/_product-page.scss
index aaaad94ba7..879b8e9fdf 100644
--- a/saleor/static/scss/layouts/_product-page.scss
+++ b/saleor/static/scss/layouts/_product-page.scss
@@ -23,6 +23,9 @@
&__quantity {
width: 17%;
float: left;
+ @include media-breakpoint-down(sm) {
+ width: 47%;
+ }
input {
height: 54px;
}
@@ -34,6 +37,12 @@
button {
min-width: 100%;
}
+ @include media-breakpoint-down(sm) {
+ width: 50%;
+ .btn.primary {
+ padding: $global-padding;
+ }
+ }
}
td {
padding-right: $global-padding;