Fix svelte 4 components to fit into requirements

This commit is contained in:
kwaroran
2024-10-22 22:06:20 +09:00
parent 00b4195ca0
commit 8e1d014f6e
9 changed files with 41 additions and 27 deletions

View File

@@ -475,6 +475,7 @@
{#if submenu === 3 || submenu === -1}
<Arcodion styled name="Bias " help="bias">
<table class="contain w-full max-w-full tabler">
<tbody>
<tr>
<th class="font-medium">Bias</th>
<th class="font-medium">{language.value}</th>
@@ -508,6 +509,7 @@
</td>
</tr>
{/each}
</tbody>
</table>
<div class="text-textcolor2 mt-2 flex items-center gap-2">
<button class="font-medium cursor-pointer hover:text-textcolor gap-2" on:click={() => {
@@ -527,6 +529,7 @@
{#if $DataBase.aiModel === 'reverse_proxy'}
<Arcodion styled name="{language.additionalParams} " help="additionalParams">
<table class="contain w-full max-w-full tabler">
<tbody>
<tr>
<th class="font-medium">{language.key}</th>
<th class="font-medium">{language.value}</th>
@@ -560,6 +563,7 @@
</td>
</tr>
{/each}
</tbody>
</table>
</Arcodion>
{/if}

View File

@@ -167,6 +167,7 @@
{#if submenu === 5 && (Array.isArray(currentModule.assets))}
<div class="w-full max-w-full border border-selected rounded-md p-2">
<table class="contain w-full max-w-full tabler mt-2">
<tbody>
<tr>
<th class="font-medium">{language.value}</th>
<th class="font-medium cursor-pointer w-10">
@@ -222,6 +223,7 @@
</tr>
{/each}
{/if}
</tbody>
</table>
</div>
{/if}