mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-24 15:38:45 +08:00
Tweak tree demo
This commit is contained in:
parent
89ce2254af
commit
ae87b663bf
@ -1040,7 +1040,7 @@ exports[`renders ./components/tree/demo/search.md correctly 1`] = `
|
||||
<div>
|
||||
<span
|
||||
class="ant-input-search ant-input-affix-wrapper"
|
||||
style="width:300px;"
|
||||
style="margin-bottom:8px;"
|
||||
>
|
||||
<input
|
||||
class="ant-input"
|
||||
|
@ -125,7 +125,7 @@ class SearchTree extends React.Component {
|
||||
});
|
||||
return (
|
||||
<div>
|
||||
<Search style={{ width: 300 }} placeholder="Search" onChange={this.onChange} />
|
||||
<Search style={{ marginBottom: 8 }} placeholder="Search" onChange={this.onChange} />
|
||||
<Tree
|
||||
onExpand={this.onExpand}
|
||||
expandedKeys={expandedKeys}
|
||||
|
Loading…
Reference in New Issue
Block a user