Skip to content

Commit 0d43305

Browse files
authored
Merge pull request #128 from MalathiBalaraman31/fix-center-loading
Center loading indicator on screen using CSS
2 parents 16f6ee0 + ecfc033 commit 0d43305

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/styles.css

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,24 @@ h1 {
313313

314314
#loadingState,
315315
#loadingStateDesktop {
316-
display: flex;
316+
position: fixed;
317+
top: 0;
318+
left: 0;
319+
320+
width: 100vw;
321+
height: 100vh;
322+
323+
display: flex !important;
324+
flex-direction: column;
317325
align-items: center;
318326
justify-content: center;
327+
319328
gap: 10px;
329+
background: #f0f2f5;
330+
z-index: 1000001;
320331
}
321332

333+
322334
/* ============================================================================ */
323335
/* MAIN CONTENT */
324336
/* ============================================================================ */

0 commit comments

Comments
 (0)