fix: 登录按钮与输入框左右对齐
This commit is contained in:
+15
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user