Merge pull request #2157 from Rimaru06/issue#1992

Enhance Monitor Header: Apply Monospaced Font to URL and Increase Gap Between Elements
This commit is contained in:
Alexander Holliday authored and GitHub committed 2025-04-28 11:37:11 -07:00
commit ceb140af24
1 file changed
+4 -2
@@ -25,10 +25,12 @@ const MonitorStatusHeader = ({ path, isLoading = false, isAdmin, monitor }) => {
<Stack <Stack
direction="row" direction="row"
alignItems={"center"} alignItems={"center"}
gap={theme.spacing(2)} gap={theme.spacing(4)}
> >
<PulseDot color={statusColor[determineState(monitor)]} /> <PulseDot color={statusColor[determineState(monitor)]} />
<Typography variant="h2"> <Typography variant="h2"
style={{fontFamily : "monospace" , fontWeight : 'bolder'}}
>
{monitor?.url?.replace(/^https?:\/\//, "") || "..."} {monitor?.url?.replace(/^https?:\/\//, "") || "..."}
</Typography> </Typography>
<Dot /> <Dot />