diff --git a/frontend/src/components/FieldLayout.vue b/frontend/src/components/FieldLayout.vue index 33aa683e..d3ce7205 100644 --- a/frontend/src/components/FieldLayout.vue +++ b/frontend/src/components/FieldLayout.vue @@ -40,7 +40,7 @@ :class="[ { '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" >
{{ column.label }} diff --git a/frontend/src/components/Settings/SettingsPage.vue b/frontend/src/components/Settings/SettingsPage.vue index ebe54324..fdd74912 100644 --- a/frontend/src/components/Settings/SettingsPage.vue +++ b/frontend/src/components/Settings/SettingsPage.vue @@ -106,7 +106,7 @@ const tabs = computed(() => { if (fieldsData[0].type != 'Tab Break') { let _sections = [] if (fieldsData[0].type != 'Section Break') { - _sections.push({ columns: [{ fields: [] }] }) + _sections.push({ no_tabs: true, columns: [{ fields: [] }] }) } _tabs.push({ no_tabs: true,