fix(welcome): 欢迎页内容垂直水平居中

将 min-height: 100% 改为 height: 100vh,确保页面内容始终居中显示
This commit is contained in:
小蟑螂
2026-04-22 16:34:04 +08:00
parent e615130e7d
commit 97f5c4f997
@@ -181,7 +181,7 @@ const goImportTask = () => {
--border-color: #e2e8f0;
--badge-bg: #eff6ff;
--badge-border: #dbeafe;
min-height: 100%;
height: 100vh;
position: relative;
overflow: hidden;
display: flex;
@@ -513,6 +513,7 @@ html.dark .welcome-page {
--border-color: hsl(240deg 3.7% 22%);
--badge-bg: hsl(217deg 91% 60% / 14%);
--badge-border: hsl(217deg 91% 60% / 28%);
height: 100vh;
background: linear-gradient(
145deg,
hsl(222.34deg 10.43% 12.27%) 0%,