fix(select): vertical align and fix render blink

This commit is contained in:
07akioni 2019-09-25 12:20:38 +08:00
parent cfaf318df9
commit 3d41af6887

View File

@ -10,20 +10,27 @@
font-family: $default-font-family;
text-align: start;
vertical-align: baseline;
transform: translateZ(0); // to avoid blink of activator when animation occurs nearby
&:not(.n-select--multiple) {
@include m(small-size) {
line-height: 28px;
height: 28px;
}
@include m(medium-size) {
line-height: 34px;
height: 34px;
}
@include m(large-size) {
line-height: 40px;
height: 40px;
}
}
@include m(small-size) {
line-height: 28px;
}
@include m(medium-size) {
line-height: 34px;
}
@include m(large-size) {
line-height: 40px;
}
@include m(small-size) {
font-size: 14px;
}