Minor update to fix padding for the json field label

This commit is contained in:
Dean 2022-10-17 12:43:23 +01:00
parent 50eee8d938
commit 557499a4d7
1 changed files with 13 additions and 11 deletions

View File

@ -58,6 +58,7 @@
{:else if schema.type === "longform"}
<TextArea label={field} bind:value={value[field]} />
{:else if schema.type === "json"}
<span>
<Label>{field}</Label>
<Editor
editorHeight="150"
@ -69,6 +70,7 @@
}}
value={value[field]}
/>
</span>
{:else if schema.type === "link"}
<LinkedRowSelector bind:linkedRows={value[field]} {schema} />
{:else if schema.type === "string" || schema.type === "number"}