mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
fix(input): vertical align
This commit is contained in:
parent
c1ec14218b
commit
028fa850b4
@ -67,6 +67,8 @@
|
||||
@include m(small-size) {
|
||||
font-size: $small-input-font-size;
|
||||
$height: round($small-input-font-size * 1.5);
|
||||
height: $small-height;
|
||||
line-height: $small-height;
|
||||
@include e(input) {
|
||||
height: $small-height;
|
||||
}
|
||||
@ -80,6 +82,8 @@
|
||||
@include m(medium-size) {
|
||||
font-size: $medium-input-font-size;
|
||||
$height: round($medium-input-font-size * 1.5);
|
||||
height: $medium-height;
|
||||
line-height: $medium-height;
|
||||
@include e(input) {
|
||||
height: $medium-height;
|
||||
}
|
||||
@ -93,6 +97,8 @@
|
||||
@include m(large-size) {
|
||||
font-size: $large-input-font-size;
|
||||
$height: round($large-input-font-size * 1.5);
|
||||
height: $large-height;
|
||||
line-height: $large-height;
|
||||
@include e(input) {
|
||||
height: $large-height;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user