mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-21 01:02:59 +08:00
style(components): [el-select] collapse-tags存在时,增加左边距 (#6037)
This commit is contained in:
parent
4b6e9889de
commit
40242b2730
@ -29,7 +29,13 @@
|
||||
:class="nsSelect.e('tags')"
|
||||
:style="selectTagsStyle"
|
||||
>
|
||||
<span v-if="collapseTags && selected.length">
|
||||
<span
|
||||
v-if="collapseTags && selected.length"
|
||||
:style="{
|
||||
marginLeft:
|
||||
prefixWidth && selected.length ? `${prefixWidth}px` : '',
|
||||
}"
|
||||
>
|
||||
<el-tag
|
||||
:closable="!selectDisabled && !selected[0].isDisabled"
|
||||
:size="collapseTagSize"
|
||||
|
Loading…
Reference in New Issue
Block a user