Browse Source

fix: demo margin in dark

pull/20281/head
ycjcl868 5 years ago
parent
commit
f866fac698
  1. 2
      components/alert/demo/basic.md
  2. 2
      components/input-number/demo/size.md
  3. 2
      components/switch/demo/basic.md

2
components/alert/demo/basic.md

@ -20,7 +20,7 @@ ReactDOM.render(<Alert message="Success Text" type="success" />, mountNode);
```
<style>
.ant-alert {
.code-box-demo .ant-alert {
margin-bottom: 16px;
}
</style>

2
components/input-number/demo/size.md

@ -31,7 +31,7 @@ ReactDOM.render(
```
```css
.ant-input-number {
.code-box-demo .ant-input-number {
margin-right: 10px;
}
```

2
components/switch/demo/basic.md

@ -24,7 +24,7 @@ ReactDOM.render(<Switch defaultChecked onChange={onChange} />, mountNode);
```
<style>
.ant-switch {
.code-box-demo .ant-switch {
margin-bottom: 8px;
}
</style>

Loading…
Cancel
Save