demo: update badge demo

pull/11793/head
afc163 7 years ago
parent 22162fe04b
commit ab7855d104

@ -29,7 +29,7 @@ ReactDOM.render(
````
<style>
.ant-badge:not(.ant-badge-status) {
.ant-badge:not(.ant-badge-not-a-wrapper) {
margin-right: 20px;
}
.head-example {

@ -26,3 +26,9 @@ ReactDOM.render(
</div>,
mountNode);
````
<style>
.ant-badge-not-a-wrapper:not(.ant-badge-status) {
margin-right: 8px;
}
</style>

@ -26,7 +26,7 @@ ReactDOM.render(
````
<style>
.ant-badge:not(.ant-badge-status) {
.ant-badge:not(.ant-badge-not-a-wrapper) {
margin-right: 20px;
}
.head-example {

Loading…
Cancel
Save