Skip to content

Commit fa460de

Browse files
committed
feat(arena): Use monospace font for seat ID and labels in ArenaView
1 parent 43d7bd6 commit fa460de

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

packages/ui/app/components/ArenaView.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ interface ArenaViewProps {
265265

266266
export function ArenaView({ monitors, isLoading, openMonitorInfo }: ArenaViewProps) {
267267
const theme = useMantineTheme();
268+
const monospaceFont = theme.fontFamilyMonospace ?? 'monospace';
268269
const [viewMode, setViewMode] = React.useState<ArenaViewMode>('signal');
269270
const [selectedLayoutId, setSelectedLayoutId] = React.useState<string | null>(() => {
270271
if (!isBrowser) return null;
@@ -517,7 +518,15 @@ export function ArenaView({ monitors, isLoading, openMonitorInfo }: ArenaViewPro
517518
flex: '0 0 auto',
518519
}}
519520
>
520-
<Text fw={600} size="sm" c="white" style={{ textShadow: '0 0 4px rgba(0,0,0,0.5)' }}>
521+
<Text
522+
fw={600}
523+
size="sm"
524+
c="white"
525+
style={{
526+
textShadow: '0 0 4px rgba(0,0,0,0.5)',
527+
fontFamily: monospaceFont,
528+
}}
529+
>
521530
{seatId}
522531
</Text>
523532
{duplicatesCount && (
@@ -624,6 +633,7 @@ export function ArenaView({ monitors, isLoading, openMonitorInfo }: ArenaViewPro
624633
color: theme.colors.gray[7],
625634
fontSize: theme.fontSizes.sm,
626635
flex: '0 0 auto',
636+
fontFamily: monospaceFont,
627637
}}
628638
>
629639
{label}

0 commit comments

Comments
 (0)