border nits

This commit is contained in:
Diego Imbert
2026-07-03 11:03:27 +02:00
parent c3bb639624
commit 8470066599
2 changed files with 4 additions and 4 deletions
@@ -460,10 +460,10 @@
<Tab value="up" label="Up" />
<Tab value="down" label="Down" />
{#snippet content()}
<TabContent value="up" class="h-80">
<TabContent value="up" class="h-80 border rounded-md overflow-hidden">
<SimpleEditor class="h-full" lang="sql" code={viewMigration?.code_up ?? ''} readOnly />
</TabContent>
<TabContent value="down" class="h-80">
<TabContent value="down" class="h-80 border rounded-md overflow-hidden">
{#if viewMigration?.code_down}
<SimpleEditor class="h-full" lang="sql" code={viewMigration.code_down} readOnly />
{:else}
@@ -150,7 +150,7 @@
<Tab value="up" label="Up" />
<Tab value="down" label="Down" />
{#snippet content()}
<TabContent value="up" class="h-80">
<TabContent value="up" class="h-80 border rounded-md overflow-hidden">
<SimpleEditor class="h-full" lang="sql" bind:code={codeUp} />
</TabContent>
<TabContent value="down" class="h-80">
@@ -161,7 +161,7 @@
size="sm"
/>
{#if enableDown}
<div class="grow min-h-0">
<div class="grow min-h-0 border rounded-md overflow-hidden">
<SimpleEditor class="h-full" lang="sql" bind:code={codeDown} />
</div>
{/if}