style: tagview 左右对称

This commit is contained in:
xingyu 2022-12-08 23:19:24 +08:00
parent 0c909aa1bb
commit 02174383a7

View File

@ -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;