fix: update Tag's margin

This commit is contained in:
Benjy Cui 2016-04-13 15:15:02 +08:00
parent 70b8a83a74
commit 883699f3dc
2 changed files with 1 additions and 6 deletions

View File

@ -20,9 +20,3 @@ english: Tag
| onClose | 关闭时的回调 | function | | 无 | | onClose | 关闭时的回调 | function | | 无 |
| afterClose | 动画关闭后的回调 | function | | 无 | | afterClose | 动画关闭后的回调 | function | | 无 |
| color | 标签的色彩 | string | blue green yellow red | 无 | | color | 标签的色彩 | string | blue green yellow red | 无 |
<style>
[id^="components-tag-demo-"] .ant-tag {
margin: 0 4px 8px 0;
}
</style>

View File

@ -13,6 +13,7 @@
vertical-align: middle; vertical-align: middle;
opacity: 0.85; opacity: 0.85;
overflow: hidden; overflow: hidden;
margin: 2px 4px 2px 0;
&:hover { &:hover {
opacity: 1; opacity: 1;