From 952706e905e26bb9ac7cf0c7e66e7c833cbe6939 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 9 Jan 2024 17:36:41 +0000 Subject: [PATCH] fix(site): HealthPage/WorkspaceProxyPage: adjust border colour for unhealthy regions (#11516) --- 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 d436a75ad5..eec68104e5 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, }} >