feat:优化加载背景样式

This commit is contained in:
jxxghp
2025-02-06 13:48:03 +08:00
parent 361a4e0414
commit 2511acfea1
2 changed files with 6 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html lang="en"
style="overflow: hidden auto; background: var(--initial-loader-bg, #fff); min-block-size: calc(100% + env(safe-area-inset-top) + env(safe-area-inset-bottom));">
style="overflow: hidden auto; min-block-size: calc(100% + env(safe-area-inset-top) + env(safe-area-inset-bottom));">
<head>
<meta http-equiv="pragma" content="no-cache">
@@ -157,4 +157,4 @@
<script type="module" src="/src/main.ts"></script>
</body>
</html>
</html>

View File

@@ -1,3 +1,7 @@
html {
background: var(--initial-loader-bg, #fff);
}
#loading-bg {
position: fixed;
z-index: 9999;