From 430bc39b6eb0e02ca2b1a516ef715980fda03dc0 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 9 Jan 2024 15:59:44 +0000 Subject: [PATCH] fix(site): HealthPage/WorkspaceProxyPage: adjust border colour for unhealthy regions --- site/src/pages/HealthPage/WorkspaceProxyPage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/site/src/pages/HealthPage/WorkspaceProxyPage.tsx b/site/src/pages/HealthPage/WorkspaceProxyPage.tsx index d436a75ad5e8d..eec68104e5c4c 100644 --- a/site/src/pages/HealthPage/WorkspaceProxyPage.tsx +++ b/site/src/pages/HealthPage/WorkspaceProxyPage.tsx @@ -55,7 +55,11 @@ export const WorkspaceProxyPage = () => { key={region.id} css={{ borderRadius: 8, - border: `1px solid ${theme.palette.divider}`, + border: `1px solid ${ + region.healthy + ? theme.palette.divider + : theme.palette.warning.light + }`, fontSize: 14, }} >