From e434bb1c67f48c5f6169103dd50e23b3c56a8713 Mon Sep 17 00:00:00 2001 From: Kajal Solanki Date: Wed, 13 Feb 2019 12:32:03 +0530 Subject: [PATCH 1/2] Cart page cross-sell product addtocart button issue resolved --- .../web/css/source/module/_cart.less | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less b/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less index 6be6010fd2d2d..681a7242b2413 100644 --- a/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less +++ b/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less @@ -527,6 +527,18 @@ // Desktop // _____________________________________________ +.media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) { + .cart-container { + .block.crosssell { + .products-grid { + .product-item-actions { + margin: 0 0 @indent__s; + } + } + } + } +} + .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { .checkout-cart-index { .page-main { From f8e7c900ce792d5d9f4874102f8b4185a45cb7fb Mon Sep 17 00:00:00 2001 From: nmalevanec Date: Fri, 15 Feb 2019 14:52:42 +0200 Subject: [PATCH 2/2] Fix static tests. --- .../luma/Magento_Checkout/web/css/source/module/_cart.less | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less b/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less index 681a7242b2413..71814cd0f0422 100644 --- a/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less +++ b/app/design/frontend/Magento/luma/Magento_Checkout/web/css/source/module/_cart.less @@ -530,13 +530,13 @@ .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__s) { .cart-container { .block.crosssell { - .products-grid { + .products-grid { .product-item-actions { margin: 0 0 @indent__s; } - } + } } - } + } } .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) {