add a light stroke to the normal Network card

This commit is contained in:
Hristo Nedelkov 2023-09-28 22:54:04 +03:00
parent b7643197fd
commit 622046405c
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const DeviceNetworkHealth = ({ latency }: DeviceNetworkHealthProps) => {
width: '50%', width: '50%',
minHeight: '135px', minHeight: '135px',
borderRadius: '16px', borderRadius: '16px',
border: processedLatency.message === 'Poor' ? '1px solid #D92344' : 'none', border: processedLatency.message === 'Poor' ? '1px solid #D92344' : '1px solid #E0E0E0',
backgroundColor: isHovered ? '#f8f6ff' : (processedLatency.message === 'Poor' ? '#fefafa' : '#fff'), backgroundColor: isHovered ? '#f8f6ff' : (processedLatency.message === 'Poor' ? '#fefafa' : '#fff'),
}} }}
onMouseEnter={() => setIsHovered(true)} onMouseEnter={() => setIsHovered(true)}