Fix tag closable with link, close #1862

pull/1869/head
afc163 9 years ago
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…
Cancel
Save