1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-03 01:18:43 +02:00

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.
This commit is contained in:
Nuno Góis 2025-02-20 09:53:43 +00:00 committed by GitHub
parent 6e1f683902
commit ac8d742e5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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,