Skip to content

Commit ebf658b

Browse files
2 parents fddf5d7 + cf271b5 commit ebf658b

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

typescript-version/public/loader.css

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,23 @@ html {
99

1010
#loading-bg {
1111
position: absolute;
12-
display: block;
12+
display: flex;
13+
flex-direction: column;
14+
align-items: center;
15+
justify-content: center;
1316
background: var(--initial-loader-bg, #fff);
1417
block-size: 100%;
18+
gap: 1rem 0;
1519
inline-size: 100%;
1620
}
1721

18-
.loading-logo {
19-
position: absolute;
20-
inset-block-start: 40%;
21-
inset-inline-start: calc(50% - 45px);
22-
}
23-
2422
.loading {
25-
position: absolute;
23+
position: relative;
2624
box-sizing: border-box;
2725
border: 3px solid transparent;
2826
border-radius: 50%;
2927
block-size: 55px;
3028
inline-size: 55px;
31-
inset-block-start: 50%;
32-
inset-inline-start: calc(50% - 35px);
3329
}
3430

3531
.loading .effect-1,

0 commit comments

Comments
 (0)