From 255140464034322ad848fd37d236837d77fd359e Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 15 Dec 2023 15:08:53 -0500 Subject: [PATCH] fix(striker-ui): remove interface indicator from ouside table in network management --- striker-ui/components/BriefNetworkInterface.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/striker-ui/components/BriefNetworkInterface.tsx b/striker-ui/components/BriefNetworkInterface.tsx index 091938d9..5622de51 100644 --- a/striker-ui/components/BriefNetworkInterface.tsx +++ b/striker-ui/components/BriefNetworkInterface.tsx @@ -9,7 +9,6 @@ import { Close as MUICloseIcon } from '@mui/icons-material'; import { BLACK, BORDER_RADIUS, GREY } from '../lib/consts/DEFAULT_THEME'; -import Decorator from './Decorator'; import { BodyText } from './Text'; type BriefNetworkInterfaceOptionalProps = { @@ -32,7 +31,7 @@ const BriefNetworkInterface: FC< } > = ({ isFloating, - networkInterface: { networkInterfaceName, networkInterfaceState }, + networkInterface: { networkInterfaceName }, onClose, sx: rootSx, ...restRootProps @@ -54,9 +53,9 @@ const BriefNetworkInterface: FC< sx: { display: 'flex', flexDirection: 'row', + alignItems: 'center', '& > :not(:first-child)': { - alignSelf: 'center', marginLeft: '.5em', }, @@ -67,10 +66,6 @@ const BriefNetworkInterface: FC< ...restRootProps, }} > - {onClose && (