fix: 登录按钮与输入框左右对齐

This commit is contained in:
2026-10-30 10:41:15 +08:00
parent cad9552a65
commit 91f933f4eb
2 changed files with 16 additions and 5 deletions
+15 -4
View File
@@ -106,12 +106,23 @@ button, input, select { font: inherit; }
font-weight: 600;
letter-spacing: 0.12em;
}
.login-secondary {
display: flex;
justify-content: flex-end;
.login-form {
display: grid;
grid-template-columns: 112px minmax(0, 1fr);
column-gap: 12px;
row-gap: 8px;
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 {
grid-column: 2;
width: 100%;
height: 40px;
margin-top: 16px;
justify-self: stretch;
}
.login-secondary + .gate-submit.n-button { margin-top: 12px; }
.gate-brand {
display: flex;
gap: 14px;