mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
adjust tree style
This commit is contained in:
parent
c196f37239
commit
4ef54a6edb
@ -29,7 +29,8 @@ const Demo = React.createClass({
|
||||
},
|
||||
render() {
|
||||
return (
|
||||
<TreeSelect style={{ width: 300 }}
|
||||
<TreeSelect
|
||||
style={{ width: 300 }}
|
||||
value={this.state.value}
|
||||
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
|
||||
placeholder="Please select"
|
||||
|
@ -48,7 +48,8 @@ const Demo = React.createClass({
|
||||
},
|
||||
render() {
|
||||
return (
|
||||
<TreeSelect style={{ width: 300 }}
|
||||
<TreeSelect
|
||||
style={{ width: 300 }}
|
||||
value={this.state.value}
|
||||
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
|
||||
treeData={treeData}
|
||||
|
@ -18,9 +18,6 @@
|
||||
outline: 0;
|
||||
a[draggable],
|
||||
a[draggable="true"] {
|
||||
-moz-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
/* Required to make elements draggable in old WebKit */
|
||||
-khtml-user-drag: element;
|
||||
|
@ -8,7 +8,7 @@
|
||||
.iconfont-font("\e606");
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
top: 0;
|
||||
right: 4px;
|
||||
color: #666;
|
||||
transition: transform .3s ease;
|
||||
|
Loading…
Reference in New Issue
Block a user