mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-12 12:23:08 +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>
|
<style>
|
||||||
.ant-alert {
|
.code-box-demo .ant-alert {
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -31,7 +31,7 @@ ReactDOM.render(
|
|||||||
```
|
```
|
||||||
|
|
||||||
```css
|
```css
|
||||||
.ant-input-number {
|
.code-box-demo .ant-input-number {
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
@ -24,7 +24,7 @@ ReactDOM.render(<Switch defaultChecked onChange={onChange} />, mountNode);
|
|||||||
```
|
```
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.ant-switch {
|
.code-box-demo .ant-switch {
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user