Skip to content

Commit

Permalink
hotfix(card): Fixed pointer events on card overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
mikedegeofroy committed Dec 9, 2024
1 parent eb7366e commit 2659986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/game/card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ export const CardComponent = ({ data, deltaY }: Props) => {
<div className="relative h-full overflow-hidden rounded-3xl">
<motion.div
style={{ opacity: rightOpacity }}
className="absolute inset-0 bg-secondary z-10"
className="pointer-events-none absolute inset-0 bg-secondary z-10"
></motion.div>
<motion.div
style={{ opacity: leftOpacity }}
className="absolute inset-0 bg-primary z-10"
className="pointer-events-none absolute inset-0 bg-primary z-10"
></motion.div>
<div className="w-full aspect-square">
<div className="bg-slate-100 h-full w-full rounded-t-3xl pb-4 overflow-hidden">
Expand Down

0 comments on commit 2659986

Please sign in to comment.