fix maxWidths of uptime cards
This commit is contained in:
parent
e76ceb301c
commit
d14fd3028c
|
@ -9,7 +9,7 @@ const ConsensusUptimeCard = () => {
|
||||||
const monthlyActivity = [3, 0, 5, 4, 6, 7, 8, 9, 10, 1, 2, 3]
|
const monthlyActivity = [3, 0, 5, 4, 6, 7, 8, 9, 10, 1, 2, 3]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper >
|
<DashboardCardWrapper maxWidth='40%'>
|
||||||
<YStack space={'$3'}>
|
<YStack space={'$3'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
|
|
|
@ -28,7 +28,7 @@ const DeviceUptime = () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper >
|
<DashboardCardWrapper maxWidth='70%' >
|
||||||
<YStack space={'$3'}>
|
<YStack space={'$3'}>
|
||||||
<XStack justifyContent={'space-between'}>
|
<XStack justifyContent={'space-between'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
|
|
|
@ -8,7 +8,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||||
const ExecutionUptime = () => {
|
const ExecutionUptime = () => {
|
||||||
const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3]
|
const monthlyActivity = [3, 0, 5, 4, 6, 7, 0, 9, 10, 1, 2, 3]
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper >
|
<DashboardCardWrapper maxWidth='40%' >
|
||||||
<YStack space={'$3'} minHeight={'156px'} padding={'$3'}>
|
<YStack space={'$3'} minHeight={'156px'} padding={'$3'}>
|
||||||
<YStack>
|
<YStack>
|
||||||
<Text size={15} weight={'semibold'}>
|
<Text size={15} weight={'semibold'}>
|
||||||
|
@ -35,10 +35,10 @@ const ExecutionUptime = () => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<UptimeChart
|
<UptimeChart
|
||||||
monthlyActivity={monthlyActivity}
|
|
||||||
startMonth={0}
|
startMonth={0}
|
||||||
endMonth={8}
|
endMonth={3}
|
||||||
withLabels={false}
|
monthlyActivity={[10, 1, 3, 4, 5, 1, 7, 1, 6, 3, 1, 9]}
|
||||||
|
withLabels={true}
|
||||||
/>
|
/>
|
||||||
</Stack>
|
</Stack>
|
||||||
</XStack>
|
</XStack>
|
||||||
|
|
Loading…
Reference in New Issue