Align module field label with delete button on bulk edit modal

This commit is contained in:
Kelani Tolulope
2023-08-07 13:19:06 +01:00
parent 4691223021
commit 5d9135dacf
13 changed files with 32 additions and 8 deletions
@@ -25,6 +25,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -25,6 +25,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -25,6 +25,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -25,6 +25,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -24,6 +24,8 @@
:id="field.fieldID"
:text="hint"
/>
<slot name="tools" />
</div>
<div
class="small text-muted"
@@ -34,6 +34,7 @@ export default {
return createElement(cmp, {
props: this.$props,
on: this.$listeners,
scopedSlots: this.$scopedSlots,
})
} else {
return createElement('code', this.$t('field.unknownFieldKind', { kind: this.field.kind }))
@@ -37,14 +37,15 @@
:field="getField(field)"
:errors="fieldErrors(field)"
:record="record"
/>
<c-input-confirm
class="position-absolute"
:tooltip="$t('recordList.bulkRecord.field.remove')"
style="top: -2px; right: -4.5px; z-index: 2;"
@confirmed="fields.splice(index, 1)"
/>
>
<template #tools>
<c-input-confirm
class="ml-2"
:tooltip="$t('recordList.bulkRecord.field.remove')"
@confirmed="fields.splice(index, 1)"
/>
</template>
</field-editor>
</div>
</b-card>