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',
}}
>
<YStack>
<XStack justifyContent="space-between" flexWrap="wrap">
<YStack space={'4$'}>
<XStack flexWrap="wrap" space={'$4'}>
<ConsensusUptimeCard />
<ExecutionUptime />
</XStack>
<DeviceUptime />
</YStack>
<YStack justifyContent="space-between">
<XStack flexWrap="wrap">
<YStack space={'$4'}>
<XStack flexWrap="wrap" space={'$4'}>
<StorageCard maxStorage={100} storage={82} />
<CPUCard load={[12, 31, 3, 2, 24, 98]} />
</XStack>
<XStack flexWrap="wrap">
<XStack flexWrap="wrap" space={'$4'}>
<MemoryCard currentMemory={[21, 33, 3, 42, 35]} maxMemory={50} />
<NetworkCard
downloadRate={[12, 31, 22, 12, 23, 23, 90]}