✨ (cardComponent/index.tsx): add a minimum height to the card component to ensure consistent layout and prevent content from overlapping when the card is empty or has minimal content

This commit is contained in:
cristhianzl 2024-04-04 00:24:52 -03:00
commit c3967b6e92

View file

@ -130,7 +130,7 @@ export default function CollectionCardComponent({
return (
<Card
className={cn(
"group relative flex flex-col justify-between overflow-hidden transition-all hover:shadow-md",
"group relative flex min-h-[11rem] flex-col justify-between overflow-hidden transition-all hover:shadow-md",
disabled ? "pointer-events-none opacity-50" : ""
)}
>