diff --git a/package/component/src/component/tag/index.less b/package/component/src/component/tag/index.less index 34717fbf..758c2925 100644 --- a/package/component/src/component/tag/index.less +++ b/package/component/src/component/tag/index.less @@ -74,7 +74,9 @@ } & &-text { - overflow: hidden; text-overflow: ellipsis; white-space: nowrap + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap } & &-close-icon { diff --git a/package/component/src/component/tag/index.vue b/package/component/src/component/tag/index.vue index 07f8d36a..5c9d5605 100644 --- a/package/component/src/component/tag/index.vue +++ b/package/component/src/component/tag/index.vue @@ -6,7 +6,7 @@ export default {