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

@@ -5,6 +5,11 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Tutor Platform</title>
<link rel="stylesheet" href="/assets/styles.css" />
<style>
html { opacity: 0; transition: opacity 0.15s ease; }
html.is-ready { opacity: 1; }
#workspace-view { display: none; }
</style>
</head>
<body>
<script>