fix maxWidths of uptime cards

This commit is contained in:
Hristo Nedelkov 2023-10-31 11:31:50 +02:00
parent e76ceb301c
commit d14fd3028c
3 changed files with 7 additions and 7 deletions

View File

@ -9,7 +9,7 @@ const ConsensusUptimeCard = () => {
const monthlyActivity = [3, 0, 5, 4, 6, 7, 8, 9, 10, 1, 2, 3]
return (
<DashboardCardWrapper >
<DashboardCardWrapper maxWidth='40%'>
<YStack space={'$3'}>
<YStack>
<Text size={15} weight={'semibold'}>

View File

@ -28,7 +28,7 @@ const DeviceUptime = () => {
}
return (
<DashboardCardWrapper >
<DashboardCardWrapper maxWidth='70%' >
<YStack space={'$3'}>
<XStack justifyContent={'space-between'}>
<YStack>

View File

@ -8,7 +8,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
const ExecutionUptime = () => {
const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3]
return (
<DashboardCardWrapper >
<DashboardCardWrapper maxWidth='40%' >
<YStack space={'$3'} minHeight={'156px'} padding={'$3'}>
<YStack>
<Text size={15} weight={'semibold'}>
@ -35,10 +35,10 @@ const ExecutionUptime = () => {
}}
>
<UptimeChart
monthlyActivity={monthlyActivity}
startMonth={0}
endMonth={8}
withLabels={false}
startMonth={0}
endMonth={3}
monthlyActivity={[10, 1, 3, 4, 5, 1, 7, 1, 6, 3, 1, 9]}
withLabels={true}
/>
</Stack>
</XStack>