Fix card header alignment and add weather to footer

This commit is contained in:
2025-08-30 22:30:17 +02:00
parent 0347ead200
commit 59dc667c15
3 changed files with 11 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ export default function Card({
{header && (
<CardHeader icon={icon} content={name} isActive={active} />
)}
{children}
<div className={style.cardContent}>{children}</div>
</div>
);
}

View File

@@ -1,7 +1,7 @@
.card {
display: flex;
flex-direction: column;
justify-content: center;
justify-content: flex-start;
background-color: #c0c0c0;
border-top: 2px solid white;
border-left: 2px solid white;
@@ -9,3 +9,8 @@
border-right: 2px solid #828282;
margin: 10px;
}
.cardContent {
display: flex;
height: 100%;
}