From ac8d742e5f8a884844cc7a844481972094089d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Thu, 20 Feb 2025 09:53:43 +0000 Subject: [PATCH] chore: make Edge instance node width consistent (#9335) https://linear.app/unleash/issue/2-3295/make-edge-instance-nodes-width-consistent-in-the-connected-edges-view When manually testing this feature I noticed that sometimes Edge instance nodes had different widths depending on their content. This makes it so they stretch to the available space, making all instance nodes in a group (app-name) the same width. --- .../NetworkConnectedEdges/NetworkConnectedEdgeInstance.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/component/admin/network/NetworkConnectedEdges/NetworkConnectedEdgeInstance.tsx b/frontend/src/component/admin/network/NetworkConnectedEdges/NetworkConnectedEdgeInstance.tsx index 4758424298..3452d72d07 100644 --- a/frontend/src/component/admin/network/NetworkConnectedEdges/NetworkConnectedEdgeInstance.tsx +++ b/frontend/src/component/admin/network/NetworkConnectedEdges/NetworkConnectedEdgeInstance.tsx @@ -15,6 +15,7 @@ import { HelpIcon } from 'component/common/HelpIcon/HelpIcon'; import { NetworkConnectedEdgeInstanceLatency } from './NetworkConnectedEdgeInstanceLatency'; const StyledInstance = styled('div')(({ theme }) => ({ + width: '100%', borderRadius: theme.shape.borderRadiusMedium, border: '1px solid', borderColor: theme.palette.secondary.border,