Fix tag closable with link, close #1862

This commit is contained in:
afc163 2016-05-26 16:19:26 +08:00
parent 447d167222
commit ea5e74b348
2 changed files with 2 additions and 2 deletions

View File

@ -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);
````

View File

@ -29,7 +29,7 @@
&-text {
a:first-child:last-child {
display: block;
display: inline-block;
margin: 0 -8px;
padding: 0 8px;
}