Fix net-worth chart on desktop
This commit is contained in:
parent
04ad228e47
commit
753b87baf2
|
|
@ -219,7 +219,7 @@ export function NetWorthChart({
|
|||
}
|
||||
|
||||
return (
|
||||
<Card className="col-span-3 overflow-hidden">
|
||||
<Card className="overflow-hidden">
|
||||
<CardHeader>
|
||||
<div className="flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between">
|
||||
<div className="flex min-w-0 flex-col gap-2">
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ export function StackedBarChart<T extends Record<string, unknown>>({
|
|||
>
|
||||
<ChartContainer
|
||||
config={configWithColors}
|
||||
className="h-full"
|
||||
className="w-full h-full"
|
||||
style={{ minWidth: `${minChartWidth}px` }}
|
||||
>
|
||||
<BarChart accessibilityLayer data={data}>
|
||||
|
|
|
|||
|
|
@ -34,12 +34,10 @@ export default function Dashboard() {
|
|||
description="Overview of your financial health"
|
||||
/>
|
||||
|
||||
<div className="">
|
||||
<NetWorthChartComponent
|
||||
data={netWorthEvolution}
|
||||
loading={isLoading}
|
||||
/>
|
||||
</div>
|
||||
<NetWorthChartComponent
|
||||
data={netWorthEvolution}
|
||||
loading={isLoading}
|
||||
/>
|
||||
|
||||
<div className="grid gap-4 md:grid-cols-2">
|
||||
{isLoading
|
||||
|
|
|
|||
Loading…
Reference in New Issue