mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
fix: demo margin in dark
This commit is contained in:
parent
27a3758e1f
commit
f866fac698
@ -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>
|
||||
|
@ -31,7 +31,7 @@ ReactDOM.render(
|
||||
```
|
||||
|
||||
```css
|
||||
.ant-input-number {
|
||||
.code-box-demo .ant-input-number {
|
||||
margin-right: 10px;
|
||||
}
|
||||
```
|
||||
|
@ -24,7 +24,7 @@ ReactDOM.render(<Switch defaultChecked onChange={onChange} />, mountNode);
|
||||
```
|
||||
|
||||
<style>
|
||||
.ant-switch {
|
||||
.code-box-demo .ant-switch {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user