Browse Source

style: 标签栏 圆角

xingyu 2 years ago
parent
commit
c48a9217be

+ 5 - 3
yudao-ui-admin-vue3/src/layout/components/TagsView/src/TagsView.vue

@@ -495,16 +495,17 @@ $prefix-cls: #{$namespace}-tags-view;
     position: relative;
     top: 2px;
     height: calc(100% - 4px);
-    padding-right: 25px;
+    padding-right: 20px;
     margin-left: 4px;
     font-size: 12px;
+    border-radius: 3px 3px 3px 3px;
     cursor: pointer;
     border: 1px solid #d9d9d9;
 
     &--close {
       position: absolute;
       top: 50%;
-      right: 5px;
+      right: 4px;
       display: none;
       transform: translate(0, -50%);
     }
@@ -552,8 +553,9 @@ $prefix-cls: #{$namespace}-tags-view;
       position: relative;
       top: 2px;
       height: calc(100% - 4px);
-      padding-right: 25px;
+      padding-right: 20px;
       font-size: 12px;
+      border-radius: 3px 3px 3px 3px;
       cursor: pointer;
       border: 1px solid var(--el-border-color);
     }