fix: center and constrain empty placeholder layout with format
This commit is contained in:
1 parent
fd51af97fa
commit
eecdb7e552
2 files changed
+7
-10
No files matched your search
@@ -39,6 +39,6 @@
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.fallback__status>.MuiStack-root {
|
||||
.fallback__status > .MuiStack-root {
|
||||
margin-left: var(--env-var-spacing-2);
|
||||
}
|
||||
@@ -76,9 +76,9 @@ const Fallback = ({
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
}}>
|
||||
}}
|
||||
>
|
||||
<Box
|
||||
|
||||
border={1}
|
||||
borderColor={theme.palette.primary.lowContrast}
|
||||
borderRadius={theme.shape.borderRadius}
|
||||
@@ -90,7 +90,7 @@ const Fallback = ({
|
||||
height: "60vh",
|
||||
width: "45%",
|
||||
minWidth: "400px",
|
||||
maxHeight:"700px",
|
||||
maxHeight: "700px",
|
||||
maxWidth: "800px",
|
||||
}}
|
||||
>
|
||||
@@ -99,10 +99,8 @@ const Fallback = ({
|
||||
alignItems="center"
|
||||
gap={theme.spacing(20)}
|
||||
sx={{
|
||||
maxHeight:"70vh",
|
||||
justifyContent:"center"
|
||||
|
||||
|
||||
maxHeight: "70vh",
|
||||
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}
|
||||
|
||||
Reference in new issue
Block a user