maxheight
This commit is contained in:
parent
fa492a6cd4
commit
0b51379d88
@ -105,7 +105,10 @@ export default function Container({
|
|||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent
|
<CardContent
|
||||||
ref={contentRef}
|
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}
|
{children}
|
||||||
{!showFull && expandButton && (
|
{!showFull && expandButton && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user