4
0
forked from crowetic/commerce

fix zIndex

This commit is contained in:
Julián Benegas 2020-10-23 21:47:48 -03:00
parent 7b1fa570b5
commit ac0685c9b9

View File

@ -29,7 +29,7 @@ const ProductCard: FC<Props> = ({
if (variant === 'slim') { if (variant === 'slim') {
return ( return (
<div className="relative overflow-hidden box-border"> <div className="relative overflow-hidden box-border">
<div className="absolute inset-0 flex items-center justify-end mr-8"> <div className="absolute inset-0 flex items-center justify-end mr-8 z-20">
<span className="bg-black text-white inline-block p-3 font-bold text-xl break-words"> <span className="bg-black text-white inline-block p-3 font-bold text-xl break-words">
{p.name} {p.name}
</span> </span>