1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

F #3951: Fix loading screen (#209)

This commit is contained in:
Sergio Betanzos 2020-09-11 14:44:38 +02:00 committed by GitHub
parent 17ba0e63b0
commit 4848ef5f11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,23 @@
import React from 'react';
import { styled, Box } from '@material-ui/core';
import { Box } from '@material-ui/core';
import Logo from 'client/icons/logo';
const ScreenBox = styled(Box)({
width: '100%',
height: '100vh',
backgroundColor: '#ffffff',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
position: 'fixed',
zIndex: 10000
});
const LoadingScreen = () => (
<ScreenBox>
<Box
style={{
width: '100%',
height: '100vh',
backgroundColor: '#ffffff',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
position: 'fixed',
zIndex: 10000
}}
>
<Logo width={360} height={360} spinner withText />
</ScreenBox>
</Box>
);
export default LoadingScreen;