Small font change

This commit is contained in:
Daniel Cojocea committed 2024-08-14 15:53:46 -04:00
1 parent 008161e701
commit f65a9ba097
2 files changed
+8 -12

No files matched your search

+2 -4
View File
@@ -6,8 +6,7 @@
.monitor-details h2.MuiTypography-root { .monitor-details h2.MuiTypography-root {
font-size: var(--env-var-font-size-large); font-size: var(--env-var-font-size-large);
} }
.monitor-details h2.MuiTypography-root, .monitor-details h2.MuiTypography-root{
.monitor-details h4.MuiTypography-root {
font-weight: 600; font-weight: 600;
} }
.monitor-details h2.MuiTypography-root, .monitor-details h2.MuiTypography-root,
@@ -45,11 +44,10 @@
font-size: var(--env-var-font-size-medium-plus); font-size: var(--env-var-font-size-medium-plus);
} }
.monitor-details h6.MuiTypography-root span.MuiTypography-root { .monitor-details h6.MuiTypography-root span.MuiTypography-root {
text-transform: none;
font-style: italic; font-style: italic;
font-size: var(--env-var-font-size-medium); font-size: var(--env-var-font-size-medium);
color: var(--env-var-color-5); color: var(--env-var-color-5);
opacity: 0.8; opacity: 0.7;
} }
.monitor-details button.MuiButtonBase-root, .monitor-details button.MuiButtonBase-root,
.monitor-details .stat-box { .monitor-details .stat-box {
+6 -8
View File
@@ -22,14 +22,12 @@ import MonitorDetails60MinChart from "../../../Components/Charts/MonitorDetails6
const StatBox = ({ title, value }) => { const StatBox = ({ title, value }) => {
return ( return (
<Box className="stat-box"> <Box className="stat-box">
<Typography <Typography variant="h6" mb={1} fontWeight={500}>
variant="h6"
mb="5px"
sx={{ fontWeight: 500, textTransform: "uppercase" }}
>
{title} {title}
</Typography> </Typography>
<Typography variant="h4">{value}</Typography> <Typography variant="h4" fontWeight={500}>
{value}
</Typography>
</Box> </Box>
); );
}; };
@@ -180,7 +178,7 @@ const DetailsPage = () => {
}, },
}} }}
/> />
<Stack gap={theme.gap.xl}> <Stack gap={theme.gap.xl} mt={theme.gap.medium}>
<Stack <Stack
direction="row" direction="row"
gap={theme.gap.small} gap={theme.gap.small}
@@ -259,7 +257,7 @@ const DetailsPage = () => {
<StatBox <StatBox
title={ title={
<> <>
Avg Response Time{" "} Avg. Response Time{" "}
<Typography component="span">(24-hr)</Typography> <Typography component="span">(24-hr)</Typography>
</> </>
} }