Browse Source

Fix laoding screen issue

David Catuhe 6 years ago
parent
commit
0bda65d468
1 changed files with 4 additions and 6 deletions
  1. 4 6
      src/Loading/loadingScreen.ts

+ 4 - 6
src/Loading/loadingScreen.ts

@@ -125,12 +125,10 @@ export class DefaultLoadingScreen implements ILoadingScreen {
         }
 
         imgSpinner.style.position = "absolute";
-        imgSpinner.style.left = "50%";
-        imgSpinner.style.top = "50%";
-        imgSpinner.style.width = "18vw";
-        imgSpinner.style.height = "18vw";
-        imgSpinner.style.marginLeft = "-9vw";
-        imgSpinner.style.marginTop = "-9vw";
+        imgSpinner.style.left = "30%";
+        imgSpinner.style.top = "30%";
+        imgSpinner.style.width = "40%";
+        imgSpinner.style.height = "40%";
         imgSpinner.style.animation = "spin1 0.75s infinite linear";
         imgSpinner.style.webkitAnimation = "spin1 0.75s infinite linear";
         imgSpinner.style.transformOrigin = "50% 50%";