From b02c8c6f60d46a3ea279a0557372db742818d0f9 Mon Sep 17 00:00:00 2001 From: zhengdongxiang <363635322@qq.com> Date: Fri, 6 Dec 2024 13:44:16 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DTagsView=E5=B1=85?= =?UTF-8?q?=E4=B8=AD=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98=20(#227)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: mac --- src/layouts/components/TagsView/index.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/layouts/components/TagsView/index.vue b/src/layouts/components/TagsView/index.vue index eaa18459..b7d7f367 100644 --- a/src/layouts/components/TagsView/index.vue +++ b/src/layouts/components/TagsView/index.vue @@ -210,7 +210,9 @@ listenerRouteChange((route) => { overflow: hidden; .tags-view-wrapper { .tags-view-item { - display: inline-block; + display: inline-flex; + align-items: center; + justify-content: center; position: relative; cursor: pointer; height: 26px; @@ -234,8 +236,8 @@ listenerRouteChange((route) => { border-color: var(--v3-tagsview-tag-active-border-color); } .el-icon { - margin: 0 2px; - vertical-align: middle; + margin-left: 5px; + margin-right: 1px; border-radius: 50%; &:hover { background-color: var(--v3-tagsview-tag-icon-hover-bg-color);