mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-01-22 09:19:28 +00:00
Use grid in data cards right
This commit is contained in:
parent
bcf7d7e7fc
commit
71eddf8034
@ -40,7 +40,7 @@ const CPUCard = ({ load }: CPUCardProps) => {
|
||||
const message = currentLoad < 80 ? 'Good' : 'Poor'
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" maxWidth="30%">
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" >
|
||||
<YStack
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
|
@ -42,7 +42,7 @@ const MemoryCard = ({ currentMemory, maxMemory }: MemoryCardProps) => {
|
||||
const message = currentLoad < maxMemory ? 'Good' : 'Poor'
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" maxWidth="30%">
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" >
|
||||
<YStack
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
|
@ -48,7 +48,7 @@ const NetworkCard = ({ uploadRate, downloadRate }: NetworkCardProps) => {
|
||||
const message = currentLoad > 60 ? 'Good' : 'Poor'
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" maxWidth="30%">
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" >
|
||||
<YStack
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
|
@ -35,7 +35,7 @@ const StorageCard = ({ storage, maxStorage }: StorageCardProps) => {
|
||||
}
|
||||
|
||||
return (
|
||||
<DashboardCardWrapper padding="0" height={'156px'} minWidth="200px" maxWidth="30%">
|
||||
<DashboardCardWrapper padding="0" height="156px" minWidth="200px" >
|
||||
<YStack
|
||||
style={{
|
||||
borderRadius: '16px',
|
||||
|
Loading…
x
Reference in New Issue
Block a user