refactor(auth): rename loginType to loginStatus and update related logic
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
width: 100%;
|
||||
min-height: 40px;
|
||||
max-height: 120px; /* 约 5 行 × 24px line-height */
|
||||
padding: 0;
|
||||
padding: 6px 0 0 0; /* 上 6px:让文字视觉下移,避开正中位置 */
|
||||
border: 0;
|
||||
outline: none;
|
||||
background: transparent;
|
||||
@@ -28,8 +28,6 @@
|
||||
line-height: 24px;
|
||||
resize: none;
|
||||
font-family: inherit;
|
||||
display: flex; /* 让 textarea 成为 flex 容器,让文字竖直居中 */
|
||||
align-items: center; /* 沿 cross axis 居中 = 文字竖直居中于 40px 高度内 */
|
||||
}
|
||||
|
||||
.textField::placeholder {
|
||||
|
||||
Reference in New Issue
Block a user