forked from crowetic/commerce
Bug fixes
This commit is contained in:
parent
0ec552c2b8
commit
364ef332c1
@ -119,7 +119,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wishlistButton {
|
.wishlistButton {
|
||||||
@apply w-10 h-10 flex ml-auto flex items-center justify-center bg-primary text-primary font-semibold text-xs leading-6 cursor-pointer;
|
@apply w-10 h-10 flex ml-auto flex items-center justify-center bg-primary text-primary font-semibold text-xs leading-6 cursor-pointer z-10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.imageContainer {
|
.imageContainer {
|
||||||
|
@ -52,7 +52,7 @@ const ProductCard: FC<Props> = ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link href={`product${p.path}`}>
|
<Link href={`/product${p.path}`}>
|
||||||
<a
|
<a
|
||||||
className={cn(s.root, { [s.simple]: variant === 'simple' }, className)}
|
className={cn(s.root, { [s.simple]: variant === 'simple' }, className)}
|
||||||
>
|
>
|
||||||
|
@ -66,7 +66,7 @@ const WishlistButton: FC<Props> = ({
|
|||||||
className={cn({ 'opacity-50': loading }, className)}
|
className={cn({ 'opacity-50': loading }, className)}
|
||||||
onClick={handleWishlistChange}
|
onClick={handleWishlistChange}
|
||||||
>
|
>
|
||||||
<Heart fill={itemInWishlist ? 'white' : 'none'} />
|
<Heart fill={itemInWishlist ? 'var(--pink)' : 'none'} />
|
||||||
</button>
|
</button>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user