mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-02 12:00:43 +00:00
format
This commit is contained in:
parent
9b056fce70
commit
638177b909
@ -40,7 +40,7 @@ const CPUCard = ({ load }: CPUCardProps) => {
|
|||||||
const message = currentLoad < 80 ? 'Good' : 'Poor'
|
const message = currentLoad < 80 ? 'Good' : 'Poor'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper padding="0" height="156px" minWidth='290px' >
|
<DashboardCardWrapper padding="0" height="156px" minWidth="290px">
|
||||||
<YStack
|
<YStack
|
||||||
style={{
|
style={{
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
|
@ -42,7 +42,7 @@ const MemoryCard = ({ currentMemory, maxMemory }: MemoryCardProps) => {
|
|||||||
const message = currentLoad < maxMemory ? 'Good' : 'Poor'
|
const message = currentLoad < maxMemory ? 'Good' : 'Poor'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper padding="0" minWidth='290px' height="156px">
|
<DashboardCardWrapper padding="0" minWidth="290px" height="156px">
|
||||||
<YStack
|
<YStack
|
||||||
style={{
|
style={{
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
|
@ -48,7 +48,7 @@ const NetworkCard = ({ uploadRate, downloadRate }: NetworkCardProps) => {
|
|||||||
const message = currentLoad > 60 ? 'Good' : 'Poor'
|
const message = currentLoad > 60 ? 'Good' : 'Poor'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper padding="0" minWidth='290px' height="156px">
|
<DashboardCardWrapper padding="0" minWidth="290px" height="156px">
|
||||||
<YStack
|
<YStack
|
||||||
style={{
|
style={{
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
|
@ -35,7 +35,7 @@ const StorageCard = ({ storage, maxStorage }: StorageCardProps) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<DashboardCardWrapper padding="0" minWidth='290px' height={'156px'}>
|
<DashboardCardWrapper padding="0" minWidth="290px" height={'156px'}>
|
||||||
<YStack
|
<YStack
|
||||||
style={{
|
style={{
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user