Skip to content

Commit

Permalink
fix: initial loading spinner not centered (for suspense fallback) (#1422
Browse files Browse the repository at this point in the history
)

Signed-off-by: Eugene Panteleymonchuk <[email protected]>
  • Loading branch information
panteleymonchuk authored Apr 25, 2024
1 parent 16e32a3 commit 33f058f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions client/src/app/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,3 @@
}
}
}

.fixed-center-page {
background: var(--body-background);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
13 changes: 13 additions & 0 deletions client/src/app/components/Spinner.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
@import "../../scss/mixins";
@import "../../scss/variables";

.fixed-center-page {
background: var(--body-background);
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}

.spinner {
position: relative;
top: 20px;
Expand Down

0 comments on commit 33f058f

Please sign in to comment.