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

@@ -42,29 +42,31 @@ export default function Dashboard() {
return (
<div className={`${style.dashboard} ${scheme}`}>
<CardColumn>
<Card icon="🚊" name="Timetable">
<Timetable />
</Card>
<CardRow>
<Card icon="🕐" name="Clock">
<Datetime />
<div className={style.body}>
<CardColumn>
<Card icon="🚊" name="Timetable">
<Timetable />
</Card>
<Card icon="🌤" name="Weather">
<Weather />
<CardRow>
<Card icon="🕐" name="Clock">
<Datetime />
</Card>
<Card icon="🌤" name="Weather">
<Weather />
</Card>
</CardRow>
<Card icon="🔔" name="Terminal" active={true}>
<Terminal />
</Card>
</CardRow>
<Card icon="🔔" name="Terminal" active={true}>
<Terminal />
</Card>
<Card icon="🧹" name="Flatastic">
<Flatastic />
</Card>
</CardColumn>
<Card icon="🧹" name="Flatastic">
<Flatastic />
</Card>
</CardColumn>
</div>
<Footer />
</div>