调整样式以考虑安全区域的上下内边距,优化布局和溢出处理

This commit is contained in:
jxxghp
2025-01-04 14:12:07 +08:00
parent 3bd63ab7c8
commit f9f29ccc3c
7 changed files with 16 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ body {
html {
overflow: hidden auto;
background: var(--initial-loader-bg, #fff);
min-block-size: calc(100% + env(safe-area-inset-top));
min-block-size: calc(100% + env(safe-area-inset-top) + env(safe-area-inset-bottom));
}
#loading-bg {
@@ -82,4 +82,4 @@ html {
opacity: 1;
transform: rotate(1turn);
}
}
}