From af7f9e9addfcdc39ea73a817167de6b1203e9013 Mon Sep 17 00:00:00 2001 From: aleksandrskondratjevs Date: Tue, 1 Nov 2022 18:45:01 +0200 Subject: [PATCH 1/2] Adjust selector for product compare add to cart styles --- .../component/ProductCompareItem/ProductCompareItem.style.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss b/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss index 5d0f3a10a1..cb32752703 100644 --- a/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss +++ b/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss @@ -69,7 +69,7 @@ margin: 0; } - &-AddToCartBtn { + &-AddToCartBtn.AddToCart { width: 222px; } From 3ea5f2f1c0972e687028659ed97797a80e5ba660 Mon Sep 17 00:00:00 2001 From: aleksandrskondratjevs Date: Thu, 3 Nov 2022 11:58:44 +0200 Subject: [PATCH 2/2] Fix add to cart btn size on compare page --- .../ProductCompareItem/ProductCompareItem.style.scss | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss b/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss index cb32752703..f8f682e2be 100644 --- a/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss +++ b/packages/scandipwa/src/component/ProductCompareItem/ProductCompareItem.style.scss @@ -69,8 +69,8 @@ margin: 0; } - &-AddToCartBtn.AddToCart { - width: 222px; + &-AddToCartBtn { + width: 100%; } &-CloseBtn { @@ -78,4 +78,8 @@ position: absolute; margin-block-start: -4px; } + + .ProductWishlistButton { + margin-inline: 16px; + } }