Vertically center loading indicator

This commit is contained in:
Svilen Markov
2024-08-05 12:15:55 +01:00
parent 3b2a9fedef
commit fcaa2bef6e
2 changed files with 11 additions and 4 deletions

View File

@@ -58,6 +58,10 @@
font-size: var(--font-size-h4);
}
.page {
height: 100%;
}
.page-content, .page.content-ready .page-loading-container {
display: none;
}
@@ -360,8 +364,11 @@ body {
}
.page-loading-container {
margin: 50px auto;
width: fit-content;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
transform: translateY(-5rem);
animation: loadingContainerEntrance 200ms backwards;
animation-delay: 150ms;
font-size: 2rem;