From 6401e17f8cce2f1f434c70be9c5b11108b3b8d16 Mon Sep 17 00:00:00 2001 From: Thomas Roberts <5656702+opr@users.noreply.github.com> Date: Tue, 23 Feb 2021 10:12:27 +0000 Subject: [PATCH] Show total sale badge in medium carts & make it display below price (#3879) * Show total sale badge in medium carts * Add markup to cart line item row to enable it to be displayed as flex * Add styling to display price and sale badge as flex * Revert product price being displayed as block * Rename sale badge and price wrapper * Hide line-total sale badge on mobile * Change class name on total price and sale badge wrapper again --- .../cart/full-cart/cart-line-item-row.js | 32 ++++++++++--------- .../cart-checkout/cart/full-cart/style.scss | 23 ++++++++++--- 2 files changed, 36 insertions(+), 19 deletions(-) diff --git a/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js b/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js index 944b35363df..6bdc2921f73 100644 --- a/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js +++ b/assets/js/blocks/cart-checkout/cart/full-cart/cart-line-item-row.js @@ -256,22 +256,24 @@ const CartLineItemRow = ( { lineItem = {} } ) => {