From 0635877a5199a521c5477d6c659030736bc7f19a Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 27 Jan 2016 01:23:30 +0800 Subject: [PATCH] fix(tag): fix tag link style --- components/tag/demo/basic.md | 2 +- style/components/tag.less | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/components/tag/demo/basic.md b/components/tag/demo/basic.md index cd1a87cb90..aef746db6f 100644 --- a/components/tag/demo/basic.md +++ b/components/tag/demo/basic.md @@ -17,6 +17,6 @@ ReactDOM.render(
标签一 标签二 标签三 - 标签四(链接) + 标签四(链接)
, mountNode); ```` diff --git a/style/components/tag.less b/style/components/tag.less index e9a3c971d5..8c8346fa98 100644 --- a/style/components/tag.less +++ b/style/components/tag.less @@ -27,6 +27,14 @@ color: @text-color; } + &-text { + a:first-child:last-child { + display: block; + margin: 0 -8px; + padding: 0 8px; + } + } + .anticon-cross { .iconfont-size-under-12px(10px); cursor: pointer;