chore: Update DialogContent component in ThemeCard

This commit is contained in:
Mauro Balades
2024-08-15 12:45:40 +02:00
parent bb0c720e0b
commit 98679f2eff

View File

@@ -27,7 +27,7 @@ export default function ThemeCard({
<p className="text-md mt-2 overflow-ellipsis text-muted-foreground text-start">{theme.description}</p> <p className="text-md mt-2 overflow-ellipsis text-muted-foreground text-start">{theme.description}</p>
</ThemeCardWrapepr> </ThemeCardWrapepr>
</DialogTrigger> </DialogTrigger>
<DialogContent> <DialogContent forceMount>
<DialogHeader> <DialogHeader>
<img src={theme.image} alt={theme.name} className="w-full h-32 object-cover rounded-md mb-10" /> <img src={theme.image} alt={theme.name} className="w-full h-32 object-cover rounded-md mb-10" />
<DialogTitle>{theme.name}</DialogTitle> <DialogTitle>{theme.name}</DialogTitle>