From 02174383a7d4fbc2d75853ffecd65a91615821a6 Mon Sep 17 00:00:00 2001 From: xingyu Date: Thu, 8 Dec 2022 23:19:24 +0800 Subject: [PATCH] style: tagview 左右对称 --- yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue b/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue index 4af4970..e1ab3cb 100644 --- a/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue +++ b/yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue @@ -495,7 +495,7 @@ $prefix-cls: #{$namespace}-tags-view; position: relative; top: 2px; height: calc(100% - 4px); - padding-right: 20px; + padding-right: 16px; margin-left: 4px; font-size: 12px; border-radius: 3px 3px 3px 3px; @@ -505,7 +505,7 @@ $prefix-cls: #{$namespace}-tags-view; &--close { position: absolute; top: 50%; - right: 4px; + right: 3px; display: none; transform: translate(0, -50%); } @@ -553,7 +553,7 @@ $prefix-cls: #{$namespace}-tags-view; position: relative; top: 2px; height: calc(100% - 4px); - padding-right: 20px; + padding-right: 16px; font-size: 12px; border-radius: 3px 3px 3px 3px; cursor: pointer; -- libgit2 0.21.4