fix: center and constrain empty placeholder layout with format
This commit is contained in:
1 parent
fd51af97fa
commit
eecdb7e552
1 file changed
+4
-7
@@ -76,9 +76,9 @@ const Fallback = ({
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
justifyContent: "center",
|
justifyContent: "center",
|
||||||
alignItems: "center",
|
alignItems: "center",
|
||||||
}}>
|
}}
|
||||||
|
>
|
||||||
<Box
|
<Box
|
||||||
|
|
||||||
border={1}
|
border={1}
|
||||||
borderColor={theme.palette.primary.lowContrast}
|
borderColor={theme.palette.primary.lowContrast}
|
||||||
borderRadius={theme.shape.borderRadius}
|
borderRadius={theme.shape.borderRadius}
|
||||||
@@ -100,9 +100,7 @@ const Fallback = ({
|
|||||||
gap={theme.spacing(20)}
|
gap={theme.spacing(20)}
|
||||||
sx={{
|
sx={{
|
||||||
maxHeight: "70vh",
|
maxHeight: "70vh",
|
||||||
justifyContent:"center"
|
justifyContent: "center",
|
||||||
|
|
||||||
|
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{mode === "light" ? (
|
{mode === "light" ? (
|
||||||
@@ -146,8 +144,7 @@ const Fallback = ({
|
|||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
color="accent"
|
color="accent"
|
||||||
sx={{ alignSelf: "center"
|
sx={{ alignSelf: "center" }}
|
||||||
}}
|
|
||||||
onClick={() => navigate(link)}
|
onClick={() => navigate(link)}
|
||||||
>
|
>
|
||||||
Let's create your first {title}
|
Let's create your first {title}
|
||||||
|
|||||||
Reference in new issue
Block a user