fix: extra mt in section
This commit is contained in:
parent
46a75b08fd
commit
7d81f531d3
@ -40,7 +40,7 @@
|
|||||||
:class="[
|
:class="[
|
||||||
{
|
{
|
||||||
'px-3 sm:px-5': hasTabs,
|
'px-3 sm:px-5': hasTabs,
|
||||||
'mt-6': !section.hideLabel || !section.label,
|
'mt-6': section.label && !section.hideLabel,
|
||||||
},
|
},
|
||||||
]"
|
]"
|
||||||
>
|
>
|
||||||
@ -50,7 +50,7 @@
|
|||||||
:key="column.name"
|
:key="column.name"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
v-if="!column.hideLabel || !column.label"
|
v-if="column.label && !column.hideLabel"
|
||||||
class="text-ink-gray-9 max-w-fit text-base"
|
class="text-ink-gray-9 max-w-fit text-base"
|
||||||
>
|
>
|
||||||
{{ column.label }}
|
{{ column.label }}
|
||||||
|
|||||||
@ -106,7 +106,7 @@ const tabs = computed(() => {
|
|||||||
if (fieldsData[0].type != 'Tab Break') {
|
if (fieldsData[0].type != 'Tab Break') {
|
||||||
let _sections = []
|
let _sections = []
|
||||||
if (fieldsData[0].type != 'Section Break') {
|
if (fieldsData[0].type != 'Section Break') {
|
||||||
_sections.push({ columns: [{ fields: [] }] })
|
_sections.push({ no_tabs: true, columns: [{ fields: [] }] })
|
||||||
}
|
}
|
||||||
_tabs.push({
|
_tabs.push({
|
||||||
no_tabs: true,
|
no_tabs: true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user