From c7182d8fafd867d1e7c19850392803b4ca192fe5 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Wed, 21 Feb 2024 16:58:14 +0800 Subject: [PATCH] fix: adjust padding of problem detected icon (#6293) This PR adjusts the vertical position of the problem detected icon in the environment selector. image --- .../application/ConnectedInstances/ConnectedInstances.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx b/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx index d726f96572..ad9723be64 100644 --- a/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx +++ b/frontend/src/component/application/ConnectedInstances/ConnectedInstances.tsx @@ -33,7 +33,7 @@ const EnvironmentSelectionContainer = styled('div')(({ theme }) => ({ color: theme.palette.warning.main, position: 'absolute', fontSize: theme.fontSizes.bodySize, - top: 'calc(var(--padding-vertical) * .7)', + top: 'calc(var(--padding-horizontal) * .12)', right: 'calc(var(--padding-horizontal) * .2)', }, },