Skip to content

Commit 1f24b21

Browse files
committed
clean up class
1 parent d460e6c commit 1f24b21

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/vue-vuetify/src/complex/MixedRenderer.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div :class="['prefixed-input']" v-if="control.visible">
2+
<div class="prefixed-input" v-if="control.visible">
33
<template v-if="valueType === 'array' || valueType === 'object'">
44
<v-expansion-panels accordion flat v-model="currentlyExpanded">
55
<v-expansion-panel>
@@ -35,7 +35,7 @@
3535
</v-expansion-panel-title>
3636
<v-expansion-panel-text>
3737
<dispatch-renderer
38-
:class="['input']"
38+
class="input"
3939
v-if="schema && !(nullable && control.data === null)"
4040
:schema="schema"
4141
:uischema="uischema"
@@ -51,6 +51,7 @@
5151
</template>
5252
<template v-else>
5353
<v-select
54+
class="select"
5455
v-if="mixedRenderInfos && mixedRenderInfos.length > 1"
5556
v-disabled-icon-focus
5657
:id="control.id + '-input-selector'"
@@ -65,12 +66,13 @@
6566
item-value="index"
6667
v-model="selectedIndex"
6768
v-bind="vuetifyProps('v-select')"
69+
@click.stop
6870
@focus="handleFocus"
6971
@blur="handleBlur"
7072
>
7173
</v-select>
7274
<dispatch-renderer
73-
:class="['input']"
75+
class="input"
7476
v-if="schema && !(nullable && control.data === null)"
7577
:schema="schema"
7678
:uischema="uischema"
@@ -447,6 +449,10 @@ export default controlRenderer;
447449
align-items: center;
448450
}
449451
452+
.select {
453+
flex-shrink: 0;
454+
}
455+
450456
.input {
451457
flex-grow: 1;
452458
width: 100%;

0 commit comments

Comments
 (0)