normailze dialog and basepage

This commit is contained in:
Alex Holliday committed 2026-04-29 09:42:49 -07:00
1 parent 5792ca624e
commit 2dd9218910
2 files changed
+11 -11

No files matched your search

@@ -38,9 +38,9 @@ export const PageSpeedKeyPriorityFallback = () => {
<Link <Link
component={RouterLink} component={RouterLink}
to="/settings" to="/settings"
color={theme.palette.primary.main}
fontWeight={600}
sx={{ sx={{
color: theme.palette.primary.main,
fontWeight: 600,
textDecoration: "underline", textDecoration: "underline",
}} }}
/> />
+9 -9
View File
@@ -53,24 +53,24 @@ export const DialogInput = ({
> >
{title && ( {title && (
<DialogTitle <DialogTitle
sx={{ pb={theme.spacing(LAYOUT.XS)}
pb: theme.spacing(LAYOUT.XS), bgcolor={theme.palette.action.hover}
backgroundColor: theme.palette.action.hover, borderBottom={`1px solid ${theme.palette.divider}`}
borderBottom: `1px solid ${theme.palette.divider}`,
}}
> >
<Typography <Typography
component="span" component="span"
variant="h2" variant="h2"
sx={{ fontWeight: 600, display: "block" }} fontWeight={600}
display={"block"}
> >
{title} {title}
</Typography> </Typography>
{content && ( {content && (
<Typography <Typography
variant="body1" variant="body1"
color="text.secondary" color={theme.palette.text.secondary}
sx={{ mt: theme.spacing(LAYOUT.XS), display: "block" }} mt={theme.spacing(LAYOUT.XS)}
display={"block"}
> >
{content} {content}
</Typography> </Typography>
@@ -79,7 +79,7 @@ export const DialogInput = ({
)} )}
{children && ( {children && (
<DialogContent sx={{ pt: theme.spacing(LAYOUT.MD) }}> <DialogContent sx={{ pt: theme.spacing(LAYOUT.MD) }}>
<Box sx={{ pt: theme.spacing(LAYOUT.XS) }}>{children}</Box> <Box pt={theme.spacing(LAYOUT.XS)}>{children}</Box>
</DialogContent> </DialogContent>
)} )}
<DialogActions <DialogActions