card info for DM before flip

This commit is contained in:
Gavin McDonald
2025-06-11 15:33:23 -04:00
parent 8143feb4e7
commit bc32adbdfd
2 changed files with 3 additions and 5 deletions

View File

@@ -55,7 +55,7 @@ export default function Card({ dm, card, position, settings, flipAction }: CardP
<img
src={getURL(cardBack as TarokkaGameCard, settings)}
alt="Card Back"
className={`absolute rounded-lg ${dm ? 'transition duration-500 hover:opacity-0' : ''} ${settings.cardStyle === 'grayscale' ? 'border border-yellow-500/25 hover:drop-shadow-[0_0_3px_#ffd700/50]' : ''}`}
className={`absolute rounded-lg ${dm ? 'transition duration-500 hover:opacity-40' : ''} ${settings.cardStyle === 'grayscale' ? 'border border-yellow-500/25 hover:drop-shadow-[0_0_3px_#ffd700/50]' : ''}`}
/>
</div>
<div className="absolute group inset-0 backface-hidden rotate-y-180">