mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-19 06:43:16 +08:00
fix: update Tag's margin
This commit is contained in:
parent
70b8a83a74
commit
883699f3dc
@ -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>
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user