style: fade out the loading screen

This commit is contained in:
DanCodes committed 2024-01-11 15:54:45 +00:00
1 parent 9d78a5ed5d
commit 9a5dce5ac9
2 files changed
+7 -1

No files matched your search

+6
View File
@@ -18,6 +18,12 @@
align-items: center;
justify-content: center;
flex-direction: column;
transition: opacity 0.25s ease-in-out;
}
.app-loading.hidden {
opacity: 0;
pointer-events: none;
}
.app-loading-logo {
+1 -1
View File
@@ -28,4 +28,4 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
</React.StrictMode>,
);
document.querySelector(".app-loading")!.setAttribute("style", "display:none");
document.querySelector(".app-loading")!.classList.toggle("hidden");