fix: demo margin in dark

This commit is contained in:
ycjcl868 2019-12-25 21:54:21 +08:00
parent 27a3758e1f
commit f866fac698
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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