✨ (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:
parent
7669b1447b
commit
c3967b6e92
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ export default function CollectionCardComponent({
|
||||||
return (
|
return (
|
||||||
<Card
|
<Card
|
||||||
className={cn(
|
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" : ""
|
disabled ? "pointer-events-none opacity-50" : ""
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue