Merge pull request #2587 from bluewave-labs/fix/placeholder-center-align
fix: uptime placeholder size and merge with develop
This commit is contained in:
1 file changed
+12
-9
@@ -88,15 +88,18 @@ const Fallback = ({
|
|||||||
display: "flex",
|
display: "flex",
|
||||||
borderStyle: "dashed",
|
borderStyle: "dashed",
|
||||||
height: {
|
height: {
|
||||||
sm: "50vh",
|
sm: "55vh",
|
||||||
md: "70vh",
|
md: "50vh",
|
||||||
lg: "60vh",
|
lg: "70vh",
|
||||||
xl: "55vh",
|
xl: "58vh",
|
||||||
},
|
},
|
||||||
width: {
|
width: {
|
||||||
sm: "90%",
|
sm: "90%",
|
||||||
md: "50%",
|
md: "70%",
|
||||||
lg: "40%",
|
lg: "42%",
|
||||||
|
},
|
||||||
|
minHeight: {
|
||||||
|
sm: theme.spacing(280),
|
||||||
},
|
},
|
||||||
padding: theme.spacing(10),
|
padding: theme.spacing(10),
|
||||||
}}
|
}}
|
||||||
@@ -144,11 +147,11 @@ const Fallback = ({
|
|||||||
</Stack>
|
</Stack>
|
||||||
{/* TODO - display a different fallback if user is not an admin*/}
|
{/* TODO - display a different fallback if user is not an admin*/}
|
||||||
{isAdmin && (
|
{isAdmin && (
|
||||||
<>
|
<Stack gap={theme.spacing(10)}>
|
||||||
<Button
|
<Button
|
||||||
variant="contained"
|
variant="contained"
|
||||||
color="accent"
|
color="accent"
|
||||||
sx={{ alignSelf: "center" }}
|
sx={{ alignSelf: "center", mb: "2px" }}
|
||||||
onClick={() => navigate(link)}
|
onClick={() => navigate(link)}
|
||||||
>
|
>
|
||||||
Let's create your first {title}
|
Let's create your first {title}
|
||||||
@@ -192,7 +195,7 @@ const Fallback = ({
|
|||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
)}
|
)}
|
||||||
</>
|
</Stack>
|
||||||
)}
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
</Box>
|
</Box>
|
||||||
|
|||||||
Reference in new issue
Block a user