mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-21 15:48:25 +00:00
fix(dashboard-cards-with-charts): add same base style as other cards
This commit is contained in:
parent
e7ed4bb975
commit
5346b60591
@ -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'}>
|
||||||
|
@ -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>
|
||||||
|
@ -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'}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user