mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(theme-chalk): remove useless tag close icon css attribute (#6242)
This commit is contained in:
@@ -108,21 +108,14 @@ $tag-icon-span-gap: map.merge(
|
||||
|
||||
--el-icon-size: 14px;
|
||||
|
||||
$svg-margin-size: 1px;
|
||||
.#{$namespace}-icon {
|
||||
border-radius: 50%;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
|
||||
font-size: calc(var(--el-icon-size) - 1px);
|
||||
|
||||
font-size: calc(var(--el-icon-size) - #{$svg-margin-size * 2});
|
||||
height: var(--el-icon-size);
|
||||
width: var(--el-icon-size);
|
||||
line-height: var(--el-icon-size);
|
||||
|
||||
svg {
|
||||
margin: 1px;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$namespace}-tag__close {
|
||||
|
||||
Reference in New Issue
Block a user