|
@@ -8,7 +8,7 @@
|
|
|
class="el-select__tags"
|
|
|
v-if="multiple"
|
|
|
ref="tags"
|
|
|
- :style="{ 'max-width': inputWidth - 32 + 'px' }">
|
|
|
+ :style="{ 'max-width': inputWidth - 32 + 'px', width: '100%' }">
|
|
|
<span v-if="collapseTags && selected.length">
|
|
|
<el-tag
|
|
|
:closable="!selectDisabled"
|
|
@@ -64,7 +64,7 @@
|
|
|
v-model="query"
|
|
|
@input="debouncedQueryChange"
|
|
|
v-if="filterable"
|
|
|
- :style="{ width: inputLength + 'px', 'max-width': inputWidth - 42 + 'px' }"
|
|
|
+ :style="{ 'flex-grow': '1', width: inputLength / (inputWidth - 32) + '%', 'max-width': inputWidth - 42 + 'px' }"
|
|
|
ref="input">
|
|
|
</div>
|
|
|
<el-input
|