adjust tree style

This commit is contained in:
afc163 2016-10-14 16:17:26 +08:00
parent c196f37239
commit 4ef54a6edb
4 changed files with 5 additions and 6 deletions

View File

@ -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"

View File

@ -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}

View File

@ -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;

View File

@ -8,7 +8,7 @@
.iconfont-font("\e606");
font-weight: bold;
position: absolute;
top: 1px;
top: 0;
right: 4px;
color: #666;
transition: transform .3s ease;