style: fade out the loading screen
This commit is contained in:
1 parent
9d78a5ed5d
commit
9a5dce5ac9
2 files changed
+7
-1
No files matched your search
@@ -18,6 +18,12 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
transition: opacity 0.25s ease-in-out;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-loading.hidden {
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.app-loading-logo {
|
.app-loading-logo {
|
||||||
|
|||||||
+1
-1
@@ -28,4 +28,4 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
|
|||||||
</React.StrictMode>,
|
</React.StrictMode>,
|
||||||
);
|
);
|
||||||
|
|
||||||
document.querySelector(".app-loading")!.setAttribute("style", "display:none");
|
document.querySelector(".app-loading")!.classList.toggle("hidden");
|
||||||
Reference in new issue
Block a user