From ea5e74b3488b2b35ddc25f3485d3ce2b8c4c4662 Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 26 May 2016 16:19:26 +0800 Subject: [PATCH] Fix tag closable with link, close #1862 --- components/tag/demo/basic.md | 2 +- components/tag/style/index.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/tag/demo/basic.md b/components/tag/demo/basic.md index 096d7b1554..4450aee8ce 100644 --- a/components/tag/demo/basic.md +++ b/components/tag/demo/basic.md @@ -16,6 +16,6 @@ ReactDOM.render(
标签一 标签二 标签三 - 标签四(链接) + 标签四(链接)
, mountNode); ```` diff --git a/components/tag/style/index.less b/components/tag/style/index.less index f1a2ff612c..1129dcb7ca 100644 --- a/components/tag/style/index.less +++ b/components/tag/style/index.less @@ -29,7 +29,7 @@ &-text { a:first-child:last-child { - display: block; + display: inline-block; margin: 0 -8px; padding: 0 8px; }