Skip to content

Commit

Permalink
Change position of init loader (for Suspense fallback).
Browse files Browse the repository at this point in the history
Signed-off-by: Eugene Panteleymonchuk <[email protected]>
  • Loading branch information
panteleymonchuk committed Apr 22, 2024
1 parent d8a9ece commit f1e44a0
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 f1e44a0

Please sign in to comment.