Adjust load spinner position
This commit is contained in:
parent
8e92a895ac
commit
33c6f34f6c
|
@ -4,9 +4,6 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
z-index: 999999;
|
z-index: 999999;
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
@ -20,6 +17,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#load-spinner {
|
#load-spinner {
|
||||||
|
--spinner-size: 2em;
|
||||||
transition: all 300ms ease-out;
|
transition: all 300ms ease-out;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
top: calc(50% - var(--spinner-size) / 2);
|
||||||
|
left: calc(50% - var(--spinner-size) / 2);
|
||||||
|
position: absolute;
|
||||||
|
width: var(--spinner-size);
|
||||||
|
height: var(--spinner-size);
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue