Fix header and make content scroll on overflow

This commit is contained in:
2025-08-30 23:17:10 +02:00
parent 45a02b84f2
commit 4926c3b388
5 changed files with 37 additions and 33 deletions

View File

@@ -17,9 +17,9 @@ export default function Card({
}) {
return (
<div className={style.card}>
{header && (
<CardHeader icon={icon} content={name} isActive={active} />
)}
{header ? (
<CardHeader icon={icon} content={name} active={active} />
) : null}
<div className={style.cardContent}>{children}</div>
</div>
);