add space

This commit is contained in:
Hristo Nedelkov 2023-10-20 15:15:05 +03:00
parent 16316fb2ff
commit 8e2e28141a
1 changed files with 5 additions and 5 deletions

View File

@ -62,19 +62,19 @@ const DashboardContent = () => {
gap: '16px', gap: '16px',
}} }}
> >
<YStack> <YStack space={'4$'}>
<XStack justifyContent="space-between" flexWrap="wrap"> <XStack flexWrap="wrap" space={'$4'}>
<ConsensusUptimeCard /> <ConsensusUptimeCard />
<ExecutionUptime /> <ExecutionUptime />
</XStack> </XStack>
<DeviceUptime /> <DeviceUptime />
</YStack> </YStack>
<YStack justifyContent="space-between"> <YStack space={'$4'}>
<XStack flexWrap="wrap"> <XStack flexWrap="wrap" space={'$4'}>
<StorageCard maxStorage={100} storage={82} /> <StorageCard maxStorage={100} storage={82} />
<CPUCard load={[12, 31, 3, 2, 24, 98]} /> <CPUCard load={[12, 31, 3, 2, 24, 98]} />
</XStack> </XStack>
<XStack flexWrap="wrap"> <XStack flexWrap="wrap" space={'$4'}>
<MemoryCard currentMemory={[21, 33, 3, 42, 35]} maxMemory={50} /> <MemoryCard currentMemory={[21, 33, 3, 42, 35]} maxMemory={50} />
<NetworkCard <NetworkCard
downloadRate={[12, 31, 22, 12, 23, 23, 90]} downloadRate={[12, 31, 22, 12, 23, 23, 90]}