fix(dashboard-cards-with-charts): add same base style as other cards

This commit is contained in:
RadoslavDimchev 2024-04-20 17:26:39 +03:00 committed by Emil Ivanichkov
parent e7ed4bb975
commit 5346b60591
3 changed files with 5 additions and 3 deletions

View File

@ -7,7 +7,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
const ConsensusUptimeCard = () => { const ConsensusUptimeCard = () => {
return ( return (
<DashboardCardWrapper> <DashboardCardWrapper style={{ height: '156px', minWidth: '200px' }}>
<YStack space={'$3'}> <YStack space={'$3'}>
<YStack> <YStack>
<Text size={15} weight={'semibold'}> <Text size={15} weight={'semibold'}>

View File

@ -31,7 +31,9 @@ const DeviceUptime = ({ style }: { style?: React.CSSProperties }) => {
} }
return ( return (
<DashboardCardWrapper style={{ minWidth: '100px', ...style }}> <DashboardCardWrapper
style={{ height: '156px', minWidth: '200px', ...style }}
>
<YStack space={'$3'}> <YStack space={'$3'}>
<XStack justifyContent={'space-between'}> <XStack justifyContent={'space-between'}>
<YStack> <YStack>

View File

@ -7,7 +7,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
const ExecutionUptime = () => { const ExecutionUptime = () => {
return ( return (
<DashboardCardWrapper> <DashboardCardWrapper style={{ height: '156px', minWidth: '200px' }}>
<YStack space={'$3'}> <YStack space={'$3'}>
<YStack> <YStack>
<Text size={15} weight={'semibold'}> <Text size={15} weight={'semibold'}>