Fix Layout

This commit is contained in:
Randa Firman Putra
2025-07-14 22:49:22 +07:00
parent f76440c4e2
commit 833b307602
21 changed files with 143 additions and 126 deletions

View File

@@ -278,14 +278,14 @@ export default function IpkStatusChart({ selectedYear, selectedStatus }: Props)
</CardTitle>
</CardHeader>
<CardContent>
<div className="h-[300px] sm:h-[350px] md:h-[400px] w-full max-w-5xl mx-auto">
<div className="h-[300px] sm:h-[300px] md:h-[300px] w-full max-w-5xl mx-auto">
{typeof window !== 'undefined' && (
<Chart
options={chartOptions}
series={series}
type={selectedYear === 'all' ? 'line' : 'bar'}
height="100%"
width="90%"
width="100%"
/>
)}
</div>