aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/Loading.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/Loading.tsx')
-rw-r--r--subprojects/frontend/src/Loading.tsx7
1 files changed, 4 insertions, 3 deletions
diff --git a/subprojects/frontend/src/Loading.tsx b/subprojects/frontend/src/Loading.tsx
index 72020a43..8c293239 100644
--- a/subprojects/frontend/src/Loading.tsx
+++ b/subprojects/frontend/src/Loading.tsx
@@ -2,18 +2,19 @@ import CircularProgress from '@mui/material/CircularProgress';
2import { styled } from '@mui/material/styles'; 2import { styled } from '@mui/material/styles';
3import React from 'react'; 3import React from 'react';
4 4
5const LoadingRoot = styled('div')({ 5const LoadingRoot = styled('div')(({ theme }) => ({
6 width: '100%', 6 width: '100%',
7 height: '100%', 7 height: '100%',
8 display: 'flex', 8 display: 'flex',
9 alignItems: 'center', 9 alignItems: 'center',
10 justifyContent: 'center', 10 justifyContent: 'center',
11}); 11 background: theme.palette.outer.background,
12}));
12 13
13export default function Loading() { 14export default function Loading() {
14 return ( 15 return (
15 <LoadingRoot> 16 <LoadingRoot>
16 <CircularProgress /> 17 <CircularProgress size={60} color="inherit" />
17 </LoadingRoot> 18 </LoadingRoot>
18 ); 19 );
19} 20}