fix: small style change to sync card

This commit is contained in:
RadoslavDimchev 2023-09-15 19:04:43 +03:00
parent 7cea165151
commit b3e0cd5365

View File

@ -1,4 +1,4 @@
import { Separator, YStack } from 'tamagui'
import { Separator, Stack, YStack } from 'tamagui'
import { Text } from '@status-im/components'
import SyncCardContent from './SyncCardContent'
@ -8,13 +8,15 @@ const SyncStatusCard = () => {
return (
<DashboardCardWrapper padding="0">
<YStack space={'$2'}>
<Text size={15} weight={'semibold'}>
Sync Status
</Text>
<Stack style={{ paddingTop: '12px', paddingLeft: '16px' }}>
<Text size={15} weight={'semibold'}>
Sync Status
</Text>
</Stack>
<YStack>
<SyncCardContent title={'Execution Client'} value={123.424} total={170.0} />
<SyncCardContent title={'Execution Client'} value={123.424} total={170.0} isTop={true} />
<Separator borderColor={'#e3e3e3'} />
<SyncCardContent title={'Consensus Client'} value={123.424} total={170.0} />
<SyncCardContent title={'Consensus Client'} value={123.424} total={170.0} isTop={false} />
</YStack>
</YStack>
</DashboardCardWrapper>