修复登录页面布局和全屏覆盖 - 恢复容器结构,优化背景层级,消除白边

This commit is contained in:
AIGC Developer
2025-10-21 17:35:42 +08:00
parent 23c62924bf
commit 9266d98de3
2 changed files with 27 additions and 15 deletions

View File

@@ -56,7 +56,7 @@ html, body {
width: 100%;
margin: 0;
padding: 0;
overflow-x: hidden;
overflow: hidden; /* 完全隐藏滚动条 */
}
body {
@@ -83,7 +83,7 @@ body {
width: 100vw;
height: 100vh;
min-height: 100vh;
z-index: -2;
z-index: -10; /* 确保在最底层 */
pointer-events: none;
background-attachment: fixed;
}
@@ -106,16 +106,13 @@ main.with-navbar {
min-height: 100vh;
}
/* 登录页面特殊背景处理 - 参考Welcome页面样式 */
/* 登录页面特殊背景处理 */
#app[data-route="Login"] .fullscreen-background {
background: url('/images/backgrounds/login.png') center/cover no-repeat;
background-attachment: fixed;
min-height: 100vh;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
/* ========== 页面特殊样式 ========== */