From 3d87790e8b64d0735f45cec2d2fe9fa2ccd4e745 Mon Sep 17 00:00:00 2001 From: Nixevol Date: Fri, 30 Oct 2026 10:43:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=99=BB=E5=BD=95=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E4=B8=8E=E8=BE=93=E5=85=A5=E6=A1=86=E4=BD=BF=E7=94=A8=E5=90=8C?= =?UTF-8?q?=E4=B8=80=E5=88=97=E5=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/features/auth/LoginView.vue | 22 ++++++++++------------ web/src/styles.css | 22 +++++++++++++--------- 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/web/src/features/auth/LoginView.vue b/web/src/features/auth/LoginView.vue index f441db7..ea67e91 100644 --- a/web/src/features/auth/LoginView.vue +++ b/web/src/features/auth/LoginView.vue @@ -152,29 +152,27 @@ async function finishNqi() {

{{ purpose === "pool" ? "添加账号" : "DecomEval" }}

- 这个数据库已经安装过,请使用原来的管理员账号登录。 - {{ errorText }} -
+ 这个数据库已经安装过,请使用原来的管理员账号登录。 + {{ errorText }} - + - + -
- - {{ mode === "local" || captchaUrl ? "登录" : "继续" }} +
diff --git a/web/src/styles.css b/web/src/styles.css index 49eee28..4fc9910 100644 --- a/web/src/styles.css +++ b/web/src/styles.css @@ -108,21 +108,25 @@ button, input, select { font: inherit; } } .login-form { display: grid; - grid-template-columns: 112px minmax(0, 1fr); - column-gap: 12px; - row-gap: 8px; + grid-template-columns: 72px minmax(0, 1fr); + gap: 12px 16px; align-items: center; } -.login-form .form-grid { display: contents; } -.login-form .n-alert, -.login-form .login-secondary { grid-column: 1 / -1; } -.login-form .gate-submit.n-button { +.login-form .n-alert { grid-column: 1 / -1; } +.login-field { min-width: 0; } +.login-field .n-input { width: 100%; } +.login-submit { grid-column: 2; + display: flex; + flex-direction: column; + gap: 12px; + min-width: 0; +} +.login-submit .n-button { width: 100%; height: 40px; - margin-top: 16px; - justify-self: stretch; } +.login-submit .gate-submit.n-button { margin-top: 4px; } .gate-brand { display: flex; gap: 14px;