Shared:Components:AppLoader: fix page loader position
This commit is contained in:
parent
61a1bf2be4
commit
d2df426b02
@ -3,10 +3,9 @@ import styled from "styled-components";
|
||||
import { Base } from "@docspace/shared/themes";
|
||||
|
||||
export const StyledContainer = styled.div`
|
||||
// width: 100vw;
|
||||
// height: 100vh;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
display: flex;
|
||||
align-item: center;
|
||||
justify-content: center;
|
||||
@ -14,8 +13,14 @@ export const StyledContainer = styled.div`
|
||||
background: ${(props) => props.theme.backgroundColor};
|
||||
z-index: 5000;
|
||||
position: fixed;
|
||||
top: 150px;
|
||||
top: 0;
|
||||
left: 0;
|
||||
|
||||
.pageLoader {
|
||||
position: fixed;
|
||||
inset-inline-start: calc(50%-20px);
|
||||
top: 35%;
|
||||
}
|
||||
`;
|
||||
|
||||
StyledContainer.defaultProps = { theme: Base };
|
||||
|
Loading…
Reference in New Issue
Block a user