diff --git a/src/components/Item.js b/src/components/Item.js index c38e60f..47579d5 100644 --- a/src/components/Item.js +++ b/src/components/Item.js @@ -94,21 +94,21 @@ const Item = ({
x
@@ -224,7 +224,7 @@ const Item = ({ }}>{initialPrice}Rp {itemQty * itemPrice}
+Rp {itemQty * (promoPrice > 0? promoPrice : itemPrice)}
)} {forCart && ( @@ -316,13 +316,14 @@ const Item = ({ {itemDescription && itemDescription != 'undefined' && itemDescription?.length &&{itemDescription}
+ display: '-webkit-box', + WebkitBoxOrient: 'vertical', + overflow: 'hidden', + WebkitLineClamp: 2, + textOverflow: 'ellipsis', color: '#5f5f5f', fontSize: '14px', padding: '5px', margin: 0 + }}>{itemDescription}