From 6c3d6a09fbf19e578efdcd53fa1cf23eeb1bb20f Mon Sep 17 00:00:00 2001 From: hippoz <10706925-hippoz@users.noreply.gitlab.com> Date: Sun, 24 Apr 2022 21:31:22 +0300 Subject: [PATCH] frontend: make generic fullscreen message class --- frontend/public/global.css | 6 +++--- frontend/public/index.html | 2 +- frontend/src/components/pages/main/Main.svelte | 10 ---------- 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/frontend/public/global.css b/frontend/public/global.css index ade30d9..7bf49ea 100644 --- a/frontend/public/global.css +++ b/frontend/public/global.css @@ -60,12 +60,12 @@ body { overflow: hidden; } -.pre--loading-screen { +.fullscreen-message { display: flex; align-items: center; justify-content: center; - width: 100vw; - height: 100vh; + width: 100%; + height: 100%; overflow: hidden; background-color: var(--background-color-1); } diff --git a/frontend/public/index.html b/frontend/public/index.html index a2282ab..5874974 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -13,6 +13,6 @@
-