clear code
This commit is contained in:
parent
e970ca6a43
commit
1135b90171
|
@ -6,10 +6,9 @@ import Icon from '../../../components/General/Icon'
|
|||
import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||
|
||||
const ConsensusUptimeCard = () => {
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper minWidth="50px" maxWidth="1fr" >
|
||||
<YStack space={'$3'} >
|
||||
<DashboardCardWrapper minWidth="50px" maxWidth="1fr">
|
||||
<YStack space={'$3'}>
|
||||
<YStack>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
Consensus Uptime
|
||||
|
|
|
@ -65,7 +65,7 @@ const DashboardContent = () => {
|
|||
)}
|
||||
</Stack>
|
||||
<BasicInfoCards />
|
||||
|
||||
|
||||
{windowWidth < 1375 ? (
|
||||
windowWidth < 850 ? (
|
||||
DashboardContentLayoutPhone(windowWidth)
|
||||
|
@ -82,15 +82,16 @@ const DashboardContent = () => {
|
|||
}}
|
||||
>
|
||||
<YStack>
|
||||
<Stack style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: '1fr 1fr',
|
||||
}}>
|
||||
<Stack
|
||||
style={{
|
||||
display: 'grid',
|
||||
gridTemplateColumns: '1fr 1fr',
|
||||
gap: '8px',
|
||||
}}
|
||||
>
|
||||
<ConsensusUptimeCard />
|
||||
<ExecutionUptime />
|
||||
</Stack>
|
||||
|
||||
|
||||
</Stack>xx
|
||||
<DeviceUptime />
|
||||
</YStack>
|
||||
<YStack space={'$4'}>
|
||||
|
|
|
@ -28,7 +28,7 @@ const DeviceUptime = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper minWidth='100px'>
|
||||
<DashboardCardWrapper minWidth="100px">
|
||||
<YStack space={'$3'}>
|
||||
<XStack justifyContent={'space-between'}>
|
||||
<YStack>
|
||||
|
|
|
@ -6,10 +6,9 @@ import UptimeChart from '../UptimeChart/UptimeChart'
|
|||
import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||
|
||||
const ExecutionUptime = () => {
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper minWidth="100px" maxWidth="1fr" >
|
||||
<YStack space={'$3'} >
|
||||
<DashboardCardWrapper minWidth="100px" maxWidth="1fr">
|
||||
<YStack space={'$3'}>
|
||||
<YStack>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
Execution Uptime
|
||||
|
|
Loading…
Reference in New Issue