fix: center and constrain empty placeholder layout with format

This commit is contained in:
karenvicent committed 2025-06-25 18:27:37 -04:00
1 parent fd51af97fa
commit eecdb7e552
1 file changed
+4 -7
+4 -7
View File
@@ -76,9 +76,9 @@ const Fallback = ({
display: "flex",
justifyContent: "center",
alignItems: "center",
}}>
}}
>
<Box
border={1}
borderColor={theme.palette.primary.lowContrast}
borderRadius={theme.shape.borderRadius}
@@ -100,9 +100,7 @@ const Fallback = ({
gap={theme.spacing(20)}
sx={{
maxHeight: "70vh",
justifyContent:"center"
justifyContent: "center",
}}
>
{mode === "light" ? (
@@ -146,8 +144,7 @@ const Fallback = ({
<Button
variant="contained"
color="accent"
sx={{ alignSelf: "center"
}}
sx={{ alignSelf: "center" }}
onClick={() => navigate(link)}
>
Let's create your first {title}