maxheight

This commit is contained in:
zmeyer44 2023-11-14 11:36:39 -05:00
parent fa492a6cd4
commit 0b51379d88

View File

@ -105,7 +105,10 @@ export default function Container({
</CardHeader>
<CardContent
ref={contentRef}
className={cn("relative flex grow flex-col px-4 pb-3")}
className={cn(
"relative flex grow flex-col px-4 pb-3",
showFull || expandButton === false ? "max-h-none" : "max-h-[400px]",
)}
>
{children}
{!showFull && expandButton && (