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;