refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-09-26 15:00:06 -05:00
parent ac08529380
commit 99d7773230
2 changed files with 24 additions and 20 deletions

View file

@ -91,6 +91,7 @@
{#if mounted}
{#key func?.content}
<div class="px-[16px]">
<FunctionEditor
id={func?.id ?? ''}
name={func?.name ?? ''}
@ -101,5 +102,6 @@
saveHandler(value);
}}
/>
</div>
{/key}
{/if}

View file

@ -76,6 +76,7 @@
</script>
{#if func}
<div class="px-[16px]">
<FunctionEditor
edit={true}
id={func.id}
@ -86,6 +87,7 @@
saveHandler(value);
}}
/>
</div>
{:else}
<div class="flex items-center justify-center h-full">
<div class=" pb-16">