mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
Fix tag closable with link, close #1862
This commit is contained in:
parent
447d167222
commit
ea5e74b348
@ -16,6 +16,6 @@ ReactDOM.render(<div>
|
||||
<Tag>标签一</Tag>
|
||||
<Tag>标签二</Tag>
|
||||
<Tag closable onClose={onClose}>标签三</Tag>
|
||||
<Tag><a href="https://www.alipay.com/" target="_blank">标签四(链接)</a></Tag>
|
||||
<Tag closable><a href="https://www.alipay.com/" target="_blank">标签四(链接)</a></Tag>
|
||||
</div>, mountNode);
|
||||
````
|
||||
|
@ -29,7 +29,7 @@
|
||||
|
||||
&-text {
|
||||
a:first-child:last-child {
|
||||
display: block;
|
||||
display: inline-block;
|
||||
margin: 0 -8px;
|
||||
padding: 0 8px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user