refac: styling
This commit is contained in:
@@ -91,15 +91,17 @@
|
|||||||
|
|
||||||
{#if mounted}
|
{#if mounted}
|
||||||
{#key func?.content}
|
{#key func?.content}
|
||||||
<FunctionEditor
|
<div class="px-[16px]">
|
||||||
id={func?.id ?? ''}
|
<FunctionEditor
|
||||||
name={func?.name ?? ''}
|
id={func?.id ?? ''}
|
||||||
meta={func?.meta ?? { description: '' }}
|
name={func?.name ?? ''}
|
||||||
content={func?.content ?? ''}
|
meta={func?.meta ?? { description: '' }}
|
||||||
{clone}
|
content={func?.content ?? ''}
|
||||||
onSave={(value) => {
|
{clone}
|
||||||
saveHandler(value);
|
onSave={(value) => {
|
||||||
}}
|
saveHandler(value);
|
||||||
/>
|
}}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
{/key}
|
{/key}
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -76,16 +76,18 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if func}
|
{#if func}
|
||||||
<FunctionEditor
|
<div class="px-[16px]">
|
||||||
edit={true}
|
<FunctionEditor
|
||||||
id={func.id}
|
edit={true}
|
||||||
name={func.name}
|
id={func.id}
|
||||||
meta={func.meta}
|
name={func.name}
|
||||||
content={func.content}
|
meta={func.meta}
|
||||||
onSave={(value) => {
|
content={func.content}
|
||||||
saveHandler(value);
|
onSave={(value) => {
|
||||||
}}
|
saveHandler(value);
|
||||||
/>
|
}}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
<div class="flex items-center justify-center h-full">
|
<div class="flex items-center justify-center h-full">
|
||||||
<div class=" pb-16">
|
<div class=" pb-16">
|
||||||
|
|||||||
Reference in New Issue
Block a user