forked from crowetic/commerce
fix zIndex
This commit is contained in:
parent
7b1fa570b5
commit
ac0685c9b9
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user