style: 标签栏 圆角

This commit is contained in:
xingyu 2022-12-08 22:04:15 +08:00
parent eee5e62843
commit c48a9217be

View File

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