mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 03:59:01 +08:00
fix select style
This commit is contained in:
parent
fd78bf0714
commit
3777933020
@ -21,7 +21,9 @@ function handleChange(value) {
|
||||
}
|
||||
|
||||
React.render(
|
||||
<Select multiple value={['a10', 'c12']} onChange={handleChange}>
|
||||
<Select multiple
|
||||
style={{width:400}}
|
||||
value={['a10', 'c12']} onChange={handleChange}>
|
||||
{children}
|
||||
</Select>
|
||||
, document.getElementById('components-select-demo-multiple'));
|
||||
|
@ -21,7 +21,9 @@ function handleChange(value) {
|
||||
}
|
||||
|
||||
React.render(
|
||||
<Select tags value={['name2', 'name3']} onChange={handleChange}>
|
||||
<Select
|
||||
style={{width:400}}
|
||||
tags value={['name2', 'name3']} onChange={handleChange}>
|
||||
{children}
|
||||
</Select>
|
||||
, document.getElementById('components-select-demo-tags'));
|
||||
|
@ -133,6 +133,13 @@
|
||||
min-height: 28px;
|
||||
cursor: text;
|
||||
|
||||
.@{selectPrefixCls}-search--inline {
|
||||
width: auto;
|
||||
.@{selectPrefixCls}-search__field {
|
||||
width: 0.75em;
|
||||
}
|
||||
}
|
||||
|
||||
.@{selectPrefixCls}-selection__rendered {
|
||||
//display: inline-block;
|
||||
overflow: hidden;
|
||||
|
Loading…
Reference in New Issue
Block a user