From 92cae194c92d86206074977e39a910ab3e46d485 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Fri, 15 Dec 2023 15:46:45 -0500 Subject: [PATCH] fix(striker-ui): change interface names to monospaced --- striker-ui/components/BriefNetworkInterface.tsx | 4 ++-- striker-ui/components/NetworkInitForm.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/striker-ui/components/BriefNetworkInterface.tsx b/striker-ui/components/BriefNetworkInterface.tsx index 5622de51..c5d2a697 100644 --- a/striker-ui/components/BriefNetworkInterface.tsx +++ b/striker-ui/components/BriefNetworkInterface.tsx @@ -9,7 +9,7 @@ import { Close as MUICloseIcon } from '@mui/icons-material'; import { BLACK, BORDER_RADIUS, GREY } from '../lib/consts/DEFAULT_THEME'; -import { BodyText } from './Text'; +import { MonoText } from './Text'; type BriefNetworkInterfaceOptionalProps = { isFloating?: boolean; @@ -66,7 +66,7 @@ const BriefNetworkInterface: FC< ...restRootProps, }} > - + {networkInterfaceName} {onClose && ( diff --git a/striker-ui/components/NetworkInitForm.tsx b/striker-ui/components/NetworkInitForm.tsx index 83ee5706..8db211d8 100644 --- a/striker-ui/components/NetworkInitForm.tsx +++ b/striker-ui/components/NetworkInitForm.tsx @@ -233,7 +233,7 @@ const createNetworkInterfaceTableColumns = ( colour={networkInterfaceState === 'up' ? 'ok' : 'off'} sx={{ height: 'auto' }} /> - + {value} ), },