mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-28 02:50:45 +00:00
fix(uptime cards and charts): fix spacing bug
This commit is contained in:
parent
d5a129784f
commit
2d22996841
@ -7,7 +7,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||
|
||||
const ConsensusUptimeCard = () => {
|
||||
return (
|
||||
<DashboardCardWrapper minWidth="50px" maxWidth="1fr">
|
||||
<DashboardCardWrapper minWidth="100px">
|
||||
<YStack space={'$3'}>
|
||||
<YStack>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
@ -30,7 +30,7 @@ const ConsensusUptimeCard = () => {
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
width: '100%',
|
||||
height: '90%',
|
||||
height: '100%',
|
||||
}}
|
||||
>
|
||||
<UptimeChart
|
||||
|
@ -64,8 +64,8 @@ const DashboardContent = () => {
|
||||
width: '100%',
|
||||
}}
|
||||
>
|
||||
<YStack space="$3">
|
||||
<XStack space="$2">
|
||||
<YStack space="$4">
|
||||
<XStack space="$2" width="100%" flexWrap="wrap">
|
||||
<ConsensusUptimeCard />
|
||||
<ExecutionUptime />
|
||||
</XStack>
|
||||
|
@ -7,7 +7,7 @@ import DashboardCardWrapper from '../DashboardCardWrapper'
|
||||
|
||||
const ExecutionUptime = () => {
|
||||
return (
|
||||
<DashboardCardWrapper minWidth="100px" maxWidth="1fr">
|
||||
<DashboardCardWrapper minWidth="100px">
|
||||
<YStack space={'$3'}>
|
||||
<YStack>
|
||||
<Text size={15} weight={'semibold'}>
|
||||
@ -30,7 +30,7 @@ const ExecutionUptime = () => {
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
width: '100%',
|
||||
height: '90%',
|
||||
height: '100%',
|
||||
}}
|
||||
>
|
||||
<UptimeChart
|
||||
|
Loading…
x
Reference in New Issue
Block a user