mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 20:49:14 +08:00
fix(tag): fix tag link style
This commit is contained in:
parent
a75dfe8fd6
commit
0635877a51
@ -17,6 +17,6 @@ ReactDOM.render(<div>
|
|||||||
<Tag>标签一</Tag>
|
<Tag>标签一</Tag>
|
||||||
<Tag>标签二</Tag>
|
<Tag>标签二</Tag>
|
||||||
<Tag closable onClose={onClose}>标签三</Tag>
|
<Tag closable onClose={onClose}>标签三</Tag>
|
||||||
<a href="https://www.alipay.com/" target="_blank"><Tag>标签四(链接)</Tag></a>
|
<Tag><a href="https://www.alipay.com/" target="_blank">标签四(链接)</a></Tag>
|
||||||
</div>, mountNode);
|
</div>, mountNode);
|
||||||
````
|
````
|
||||||
|
@ -27,6 +27,14 @@
|
|||||||
color: @text-color;
|
color: @text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&-text {
|
||||||
|
a:first-child:last-child {
|
||||||
|
display: block;
|
||||||
|
margin: 0 -8px;
|
||||||
|
padding: 0 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.anticon-cross {
|
.anticon-cross {
|
||||||
.iconfont-size-under-12px(10px);
|
.iconfont-size-under-12px(10px);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
Loading…
Reference in New Issue
Block a user