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