fix design of calendar button

This commit is contained in:
Hristo Nedelkov 2023-10-11 13:47:25 +03:00
parent e749ecc76e
commit 2a9f4d9b63
2 changed files with 5 additions and 5 deletions

View File

@ -34,7 +34,7 @@ const LineChart = ({ years, userGains }: LineChartProps) => {
},
}
return <Line options={data.options} data={data} style={{ width: 'max-content' }} />
return <Line options={data.options} data={data} />
}
export default LineChart

View File

@ -17,7 +17,7 @@ import MemoryCard from './MemoryCard/MemoryCard'
const Dashboard = () => {
return (
<YStack minHeight={'100vh'} maxWidth={'100vw'}>
<YStack maxHeight={'100vh'} maxWidth={'100vw'}>
<XStack justifyContent={'space-between'}>
<LeftSidebar />
@ -25,7 +25,7 @@ const Dashboard = () => {
space={'$4'}
alignItems="start"
px="24px"
style={{ flexGrow: '1', marginTop: '16px' }}
style={{ flexGrow: '1', marginTop: '16px', overflowY: 'scroll' }}
>
<TitleLogo />
<XStack space={'$4'} justifyContent={'space-between'} width={'100%'}>
@ -62,8 +62,8 @@ const Dashboard = () => {
</YStack>
<RightSidebar />
</XStack>
</YStack>
</XStack >
</YStack >
)
}