Commit eeb9a93e authored by 好多大米's avatar 好多大米 Committed by GitHub

Select: fix long text overflow in multiple mode (#21237)

parent 72be8f53
......@@ -13,6 +13,9 @@
margin: 5px 0;
@include when(multiple) {
& .el-select-dropdown__item {
padding-right: 40px;
}
& .el-select-dropdown__item.selected {
color: $--select-option-selected-font-color;
background-color: $--select-dropdown-background;
......
......@@ -119,8 +119,9 @@
flex-wrap: wrap;
}
.el-tag__close {
margin-top: -2px;
@include e(tags-text) {
overflow: hidden;
text-overflow: ellipsis;
}
.el-tag {
......@@ -128,12 +129,15 @@
border-color: transparent;
margin: 2px 0 2px 6px;
background-color: #f0f2f5;
display: flex;
max-width: 100%;
align-items: center;
&__close.el-icon-close {
background-color: $--color-text-placeholder;
right: -7px;
top: 0;
color: $--color-white;
flex-shrink: 0;
&:hover {
background-color: $--color-text-secondary;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment