ui: prevent FOUC by hiding workspace and fading in after JS init

This commit is contained in:
user
2026-04-27 21:07:56 +09:00
parent 592b6b1254
commit c1d536d367
2 changed files with 8 additions and 0 deletions

View File

@@ -527,3 +527,6 @@ document.querySelectorAll(".lang-btn").forEach((btn) => {
window.renderAuth = renderAuth;
window.setLanguage = setLanguage;
renderAuth();
requestAnimationFrame(() => {
document.documentElement.classList.add("is-ready");
});