Add grow for fields
This commit is contained in:
parent
a92c549b95
commit
7f27ca0642
|
@ -32,7 +32,7 @@
|
||||||
"key": "checkbox"
|
"key": "checkbox"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "checkboxes",
|
"name": "checkboxes Praesent tortor ligula, accumsan quis neque eget, laoreet convallis nunc. Morbi a urna sem. Mauris venenatis a felis ex.",
|
||||||
"hint": "Quisque justo leo, ultricies vestibulum.",
|
"hint": "Quisque justo leo, ultricies vestibulum.",
|
||||||
"type": "CheckboxesField",
|
"type": "CheckboxesField",
|
||||||
"columns": {
|
"columns": {
|
||||||
|
|
|
@ -102,7 +102,7 @@
|
||||||
[colClasses.desktop[field.columns.desktop]]: true,
|
[colClasses.desktop[field.columns.desktop]]: true,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<component :is="resolveComponentName(field)" v-model="payload[field.key]" :fields="allFields" :payload="payload" :field="field"></component>
|
<component :is="resolveComponentName(field)" v-model="payload[field.key]" :fields="allFields" :payload="payload" :field="field" class="grow"></component>
|
||||||
<div v-if="editable" class="right-0 top-0 -mr-2 -mt-2 absolute hidden space-x-2 group-hover:flex">
|
<div v-if="editable" class="right-0 top-0 -mr-2 -mt-2 absolute hidden space-x-2 group-hover:flex">
|
||||||
<a href="#" class="bg-edit rounded-full flex w-5 h-5 items-center justify-center text-font ml-2" @click.prevent.stop="$emit('editField', index, findex)">
|
<a href="#" class="bg-edit rounded-full flex w-5 h-5 items-center justify-center text-font ml-2" @click.prevent.stop="$emit('editField', index, findex)">
|
||||||
<edit-icon class="w-3 h-3 fill-current"></edit-icon>
|
<edit-icon class="w-3 h-3 fill-current"></edit-icon>
|
||||||
|
|
Loading…
Reference in New Issue