Fix balance chart

This commit is contained in:
Hristo Nedelkov 2023-10-17 14:39:29 +03:00
parent 84061ba5da
commit b9e7472f18
2 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ const BalanceChartCard = () => {
}
return (
<DashboardCardWrapper height="fit-content" >
<DashboardCardWrapper minWidth={'536px'} maxWidth={'950px'}>
<YStack space={'$4'}>
<XStack justifyContent={'space-between'}>
<YStack>
@ -95,9 +95,9 @@ const BalanceChartCard = () => {
</XStack>
</XStack>
<LineChart years={filteredYears} userGains={filteredUserGains} />
<LineChart years={filteredYears} userGains={filteredUserGains} />
</YStack>
</DashboardCardWrapper>
)

View File

@ -38,7 +38,7 @@ const LineChart = ({ years, userGains }: LineChartProps) => {
}
return (
<Stack minWidth={'536px'} minHeight={'300px'}>
<Stack >
<Line data={data} options={options} />
</Stack>
)