mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-18 12:34:25 +08:00
fix(select): vertical align and fix render blink
This commit is contained in:
parent
cfaf318df9
commit
3d41af6887
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user