From 9e583f4c2204bc6c90db21b42f35e0a6655a655e Mon Sep 17 00:00:00 2001 From: aleksandrskondratjevs Date: Mon, 31 Oct 2022 14:26:35 +0200 Subject: [PATCH] Adjust selector for product widgets on mobile --- .../src/component/NewProducts/NewProducts.style.scss | 4 ++++ .../ProductListWidget/ProductListWidget.style.scss | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/packages/scandipwa/src/component/NewProducts/NewProducts.style.scss b/packages/scandipwa/src/component/NewProducts/NewProducts.style.scss index 16978f70e6..81101f09ce 100644 --- a/packages/scandipwa/src/component/NewProducts/NewProducts.style.scss +++ b/packages/scandipwa/src/component/NewProducts/NewProducts.style.scss @@ -10,6 +10,10 @@ */ .NewProducts { + ul.NewProducts-Products { + padding-inline-start: 0; + } + &-Products { display: grid; grid-auto-rows: max-content; diff --git a/packages/scandipwa/src/component/ProductListWidget/ProductListWidget.style.scss b/packages/scandipwa/src/component/ProductListWidget/ProductListWidget.style.scss index 7cc2ad0624..a2ee836574 100644 --- a/packages/scandipwa/src/component/ProductListWidget/ProductListWidget.style.scss +++ b/packages/scandipwa/src/component/ProductListWidget/ProductListWidget.style.scss @@ -16,6 +16,12 @@ min-height: auto; } + ul.ProductListWidget-Page { + @include mobile { + padding-inline: 0; + } + } + &-Page { display: grid; grid-auto-rows: max-content;