4
0
forked from crowetic/commerce

Bug fixes

This commit is contained in:
Luis Alvarez 2020-10-26 18:46:38 -05:00
parent 0ec552c2b8
commit 364ef332c1
3 changed files with 3 additions and 3 deletions

View File

@ -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 {

View File

@ -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)}
> >

View File

@ -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>
) )
} }