loading screen circle is now properly centered all the time
This commit is contained in:
parent
a27baa8b4a
commit
9df40db30f
2 changed files with 61 additions and 45 deletions
|
|
@ -9,7 +9,20 @@ export default function LoadingScreen(props: Props) {
|
|||
const theme = useTheme();
|
||||
|
||||
return (
|
||||
<Box sx={{ width: "100%", height: "100%", justifyContent: "center", alignContent: "center", textAlign: "center" }}>
|
||||
<Box
|
||||
sx={{
|
||||
position: "absolute",
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: "100%",
|
||||
height: "100%",
|
||||
display: "flex",
|
||||
flexDirection: "column",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
textAlign: "center",
|
||||
}}
|
||||
>
|
||||
<CircularProgress
|
||||
size={150}
|
||||
style={{ marginBottom: theme.spacing(4) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue