Adjust count box style

This commit is contained in:
YinDongfang
2025-01-26 22:32:04 +08:00
parent 3024c20546
commit 2818ce89af
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -243,7 +243,7 @@ function Infrastructure() {
backgroundColor={theme.palette.tertiary.main} backgroundColor={theme.palette.tertiary.main}
sx={{ sx={{
padding: ".25em .75em", padding: ".25em .75em",
borderRadius: "50%", borderRadius: "calc(infinity * 1px)",
fontSize: "12px", fontSize: "12px",
fontWeight: 500, fontWeight: 500,
}} }}
+8 -2
View File
@@ -106,9 +106,15 @@ const PageSpeed = () => {
component="span" component="span"
className="current-monitors-counter" className="current-monitors-counter"
color={theme.palette.primary.contrastText} color={theme.palette.primary.contrastText}
border={1} border={2}
borderColor={theme.palette.primary.lowContrast} borderColor={theme.palette.accent.main}
backgroundColor={theme.palette.tertiary.main} backgroundColor={theme.palette.tertiary.main}
sx={{
padding: ".25em .75em",
borderRadius: "calc(infinity * 1px)",
fontSize: "12px",
fontWeight: 500,
}}
> >
{summary?.totalMonitors ?? 0} {summary?.totalMonitors ?? 0}
</Box> </Box>
@@ -234,7 +234,7 @@ const UptimeDataTable = ({
backgroundColor={theme.palette.tertiary.main} backgroundColor={theme.palette.tertiary.main}
sx={{ sx={{
padding: ".25em .75em", padding: ".25em .75em",
borderRadius: "50%", borderRadius: "calc(infinity * 1px)",
fontSize: "12px", fontSize: "12px",
fontWeight: 500, fontWeight: 500,
}} }}