style: change style of dropdown-button demo

This commit is contained in:
DiamondYuan 2019-04-15 15:53:15 +07:00
parent d23946a092
commit 331dadbef4
2 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ exports[`renders ./components/dropdown/demo/dropdown-button.md correctly 1`] = `
<div>
<div
class="ant-btn-group ant-dropdown-button"
style="margin-right:8px;margin-bottom:9px"
style="margin:0 8px 8px 0"
>
<button
class="ant-btn ant-btn-default"

View File

@ -40,7 +40,7 @@ const menu = (
ReactDOM.render(
<div>
<Dropdown.Button onClick={handleButtonClick} overlay={menu} style={{ marginRight: 8, marginBottom: 9 }}>
<Dropdown.Button onClick={handleButtonClick} overlay={menu} style={{ margin: "0 8px 8px 0" }}>
Dropdown
</Dropdown.Button>
<Dropdown.Button