@hanzo/commerce 7.1.17 → 7.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -46,7 +46,7 @@ const CartLineItem: React.FC<{
|
|
|
46
46
|
'flex flex-col justify-start items-start text-sm font-sans',
|
|
47
47
|
'border border-background rounded-sm p-1',
|
|
48
48
|
selected ? 'border-foreground' : '',
|
|
49
|
-
(itemClicked && !selected ? 'cursor-pointer hover:!border-muted-
|
|
49
|
+
(itemClicked && !selected ? 'cursor-pointer hover:!border-muted-4' : 'cursor-default '),
|
|
50
50
|
className
|
|
51
51
|
)}
|
|
52
52
|
onClick={() => {itemClicked && itemClicked(item)}}
|
|
@@ -61,7 +61,7 @@ const CartLineItem: React.FC<{
|
|
|
61
61
|
</div>
|
|
62
62
|
<div className='flex flex-row items-center justify-between w-full'>
|
|
63
63
|
<div className='flex flex-row items-center'>
|
|
64
|
-
<AddToCartWidget variant='minimal' item={item}
|
|
64
|
+
<AddToCartWidget variant='minimal' item={item} />
|
|
65
65
|
{item.quantity > 1 && (<span className='pl-2.5'>{'@' + formatCurrencyValue(item.price)}</span>)}
|
|
66
66
|
</div>
|
|
67
67
|
<div className='flex flex-row gap-1 items-center justify-end'>
|