Fix field expression description when editing record not being in new line like record viewer

This commit is contained in:
Jože Fortun
2023-05-04 16:18:53 +02:00
parent f71823cee1
commit d5c60b6d1b
2 changed files with 6 additions and 6 deletions
@@ -17,7 +17,7 @@
<div
v-for="(field, index) in fields"
:key="index"
:class="{ 'd-flex flex-column mb-3 px-3': canDisplay(field)}"
:class="{ 'd-flex flex-column mb-3 px-3': canDisplay(field) }"
>
<template
v-if="canDisplay(field)"
@@ -13,12 +13,12 @@
<div
v-else-if="module"
class="px-3"
class="mt-3 px-3"
>
<div
v-for="field in fields"
:key="field.id"
:class="{ 'mt-3': canDisplay(field) }"
:class="{ 'd-flex flex-column': canDisplay(field) }"
>
<template
v-if="canDisplay(field)"
@@ -30,7 +30,7 @@
:field="field"
@change="onFieldChange()"
/>
<div
<template
v-else
>
<label
@@ -51,7 +51,7 @@
</small>
<div
v-if="field.canReadRecordValue"
class="value"
class="value mt-2 mb-3"
>
<field-viewer
:field="field"
@@ -68,7 +68,7 @@
{{ $t('field.noPermission') }}
</i>
</div>
</div>
</template>
</template>
</div>
</div>