update Select style with filterable & prefix
This commit is contained in:
parent
90399f8494
commit
9013c49d7c
3 changed files with 26 additions and 4 deletions
|
@ -185,7 +185,7 @@
|
|||
}
|
||||
|
||||
&-multiple &-input{
|
||||
height: @input-height-base - 3px;
|
||||
height: @input-height-base - 2px;
|
||||
line-height: @input-height-base;
|
||||
padding: 0 0 0 4px;
|
||||
}
|
||||
|
@ -260,6 +260,9 @@
|
|||
&-prefix{
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
i{
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
&-head-with-prefix{
|
||||
display: inline-block !important;
|
||||
|
@ -271,6 +274,15 @@
|
|||
&-single &-head-with-prefix, &-multiple &-head-with-prefix{
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
&-head-flex{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&-multiple &-head-flex &-prefix{
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.select-item(@select-prefix-cls, @select-item-prefix-cls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue