优化 HTML 结构,调整 CSS 样式

This commit is contained in:
jxxghp
2025-08-25 13:03:45 +08:00
parent 262927e459
commit 4c64f7a2c3
6 changed files with 337 additions and 400 deletions
+4 -3
View File
@@ -6,8 +6,9 @@
html {
background: rgb(var(--v-theme-background));
min-block-size: calc(100% + env(safe-area-inset-top) + env(safe-area-inset-bottom));
overflow-y: overlay;
min-block-size: 100vh;
min-block-size: 100dvh;
overflow-y: hidden;
}
body {
@@ -40,8 +41,8 @@ body,
// TODO: Use grid gutter variable here;
padding-block: 1.5rem;
padding-inline: 0.5rem;
padding-block-start: calc(env(safe-area-inset-top) + 4.5rem);
padding-inline: 0.5rem;
// display: flex;display