optimized layout resize for multi-select

This commit is contained in:
Peter Olu 2022-05-24 17:14:49 +01:00
parent 15a55a04ce
commit 89a9fea3f1

View File

@ -18,11 +18,8 @@ limitations under the License. -->
<p style="margin-right: 10px">Select visible columns</p>
<el-select
v-model="selectedColumns"
clearable
multiple
collapse-tags
automatic-dropdown
collapse-tags-tooltip
placeholder="Select"
style="width: 240px"
size="small"
@ -726,5 +723,16 @@ watch(
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
background: transparent;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{
width: 100%;
padding: 0 32px 0 20px;
}
.el-select-dropdown__item.selected {
display: block;
width: 100%;
padding: 0 32px 0 20px;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected::after{
display:none !important;
}
</style>