Fix header and make content scroll on overflow
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user