From 33f058fce79fb53b0245c92b8b8b106fc18f6936 Mon Sep 17 00:00:00 2001 From: Eugene P Date: Thu, 25 Apr 2024 16:53:49 +0300 Subject: [PATCH] fix: initial loading spinner not centered (for suspense fallback) (#1422) Signed-off-by: Eugene Panteleymonchuk --- client/src/app/App.scss | 13 ------------- client/src/app/components/Spinner.scss | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/src/app/App.scss b/client/src/app/App.scss index c80c0b24b..e98b59071 100644 --- a/client/src/app/App.scss +++ b/client/src/app/App.scss @@ -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; -} diff --git a/client/src/app/components/Spinner.scss b/client/src/app/components/Spinner.scss index 54080fe9b..ac359a865 100644 --- a/client/src/app/components/Spinner.scss +++ b/client/src/app/components/Spinner.scss @@ -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;