From 9ff4d5269c73e0d24cfb3a9995edf66e1d8560f9 Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Thu, 28 Sep 2023 22:54:12 +0300 Subject: [PATCH] add a light stroke to the normal Storage card --- src/components/Charts/DeviceStorageHealth.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Charts/DeviceStorageHealth.tsx b/src/components/Charts/DeviceStorageHealth.tsx index c747e15d..f83919f8 100644 --- a/src/components/Charts/DeviceStorageHealth.tsx +++ b/src/components/Charts/DeviceStorageHealth.tsx @@ -9,7 +9,7 @@ interface DeviceStorageHealthProps { storage: number maxStorage: number } -const GOOD_COLOR = '#8DC6BC'; +const GOOD_COLOR = '#8DC6BC'; const POOR_COLOR = '#E95460'; const DeviceStorageHealth = ({ storage, maxStorage }: DeviceStorageHealthProps) => { @@ -42,7 +42,7 @@ const DeviceStorageHealth = ({ storage, maxStorage }: DeviceStorageHealthProps) width: '50%', minHeight: '135px', 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'), }} onMouseEnter={() => setIsHovered(true)}