add a light stroke to the normal CPU card
This commit is contained in:
parent
092c65e57e
commit
5a74f9c7b4
|
@ -46,7 +46,7 @@ const DeviceCPULoad = ({ load }: DeviceCPULoadProps) => {
|
||||||
width: '50%',
|
width: '50%',
|
||||||
minHeight: '135px',
|
minHeight: '135px',
|
||||||
borderRadius: '16px',
|
borderRadius: '16px',
|
||||||
border: message === 'Poor' ? '1px solid #D92344' : 'none',
|
border: message === 'Poor' ? '1px solid #D92344' : '1px solid #E0E0E0',
|
||||||
backgroundColor: isHovered ? '#f8f6ff' : (message === 'Poor' ? '#fefafa' : '#fff'),
|
backgroundColor: isHovered ? '#f8f6ff' : (message === 'Poor' ? '#fefafa' : '#fff'),
|
||||||
}}
|
}}
|
||||||
onMouseEnter={() => setIsHovered(true)}
|
onMouseEnter={() => setIsHovered(true)}
|
||||||
|
|
Loading…
Reference in New Issue