Fix balance chart
This commit is contained in:
parent
84061ba5da
commit
b9e7472f18
|
@ -37,7 +37,7 @@ const BalanceChartCard = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper height="fit-content" >
|
<DashboardCardWrapper minWidth={'536px'} maxWidth={'950px'}>
|
||||||
<YStack space={'$4'}>
|
<YStack space={'$4'}>
|
||||||
<XStack justifyContent={'space-between'}>
|
<XStack justifyContent={'space-between'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
|
@ -95,9 +95,9 @@ const BalanceChartCard = () => {
|
||||||
</XStack>
|
</XStack>
|
||||||
</XStack>
|
</XStack>
|
||||||
|
|
||||||
|
|
||||||
<LineChart years={filteredYears} userGains={filteredUserGains} />
|
<LineChart years={filteredYears} userGains={filteredUserGains} />
|
||||||
|
|
||||||
</YStack>
|
</YStack>
|
||||||
</DashboardCardWrapper>
|
</DashboardCardWrapper>
|
||||||
)
|
)
|
||||||
|
|
|
@ -38,7 +38,7 @@ const LineChart = ({ years, userGains }: LineChartProps) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Stack minWidth={'536px'} minHeight={'300px'}>
|
<Stack >
|
||||||
<Line data={data} options={options} />
|
<Line data={data} options={options} />
|
||||||
</Stack>
|
</Stack>
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue