From f352f7146379a8c524fdfaabf48e6fa37627491d Mon Sep 17 00:00:00 2001 From: Vijaykant Yadav Date: Wed, 13 Nov 2024 18:27:38 +0530 Subject: [PATCH] fix: white screen visibility on editor load state --- frontend/src/_styles/theme.scss | 11 +++++++++++ frontend/src/index.ejs | 1 + 2 files changed, 12 insertions(+) diff --git a/frontend/src/_styles/theme.scss b/frontend/src/_styles/theme.scss index 50fb8d60f6..3a508f1af6 100644 --- a/frontend/src/_styles/theme.scss +++ b/frontend/src/_styles/theme.scss @@ -9188,6 +9188,17 @@ tbody { .spin-loader { position: fixed; width: 100%; + justify-content: center; + align-items: center; + height: 100vh; + + &.theme-dark { + background-color: #1f2936; + + .load { + background-color: #1f2936; + } + } .load { display: flex; diff --git a/frontend/src/index.ejs b/frontend/src/index.ejs index ba87ce339c..e38f611797 100644 --- a/frontend/src/index.ejs +++ b/frontend/src/index.ejs @@ -25,6 +25,7 @@ justify-content: center; align-items: center; height: 100vh; + background-color: white; } .load.dark-loader {