fix(tag): fix tag link style

This commit is contained in:
afc163 2016-01-27 01:23:30 +08:00
parent a75dfe8fd6
commit 0635877a51
2 changed files with 9 additions and 1 deletions

View File

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

View File

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