From 16b25a9c9deb32404897a98c98e196aa1a70f2e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sun, 20 Nov 2022 05:39:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=80(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/src/component/tag/index.less | 4 +++- package/component/src/component/tag/index.vue | 2 +- .../document-component/src/document/zh-CN/components/tag.md | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) 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 {