Skip to content

Commit

Permalink
fix: field input输入的内容在行内没有垂直居中的问题 (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
hqwlkj authored Jul 25, 2022
1 parent 5d1995c commit 11649ae
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/vantui/src/field/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@
input {
font-size: @field-font-size;
}

input {
.theme(height, '@cell-line-height');
.theme(min-height, '@cell-line-height');
.theme(line-height, '@cell-line-height');
}

.theme(color, '@field-input-text-color');
.theme(height, '@cell-line-height');
Expand Down

0 comments on commit 11649ae

Please sign in to comment.