refac: styling

This commit is contained in:
Timothy J. Baek 2024-05-25 14:25:53 -07:00
parent 6c8997fcbc
commit 50951459c9
2 changed files with 5 additions and 5 deletions

View File

@ -316,9 +316,9 @@
bind:value={info.base_model_id}
required
>
<option value={null} class=" text-gray-500">{$i18n.t('Select a base model')}</option>
{#each $models.filter((m) => !m?.preset) as model}
<option value={model.id} class="text-gray-500">{model.name}</option>
<option value={null} class=" text-gray-900">{$i18n.t('Select a base model')}</option>
{#each $models.filter((m) => m.id !== model.id && !m?.preset) as model}
<option value={model.id} class=" text-gray-900">{model.name}</option>
{/each}
</select>
</div>

View File

@ -291,9 +291,9 @@
bind:value={info.base_model_id}
required
>
<option value={null} class=" text-gray-500">{$i18n.t('Select a base model')}</option>
<option value={null} class=" text-gray-900">{$i18n.t('Select a base model')}</option>
{#each $models.filter((m) => m.id !== model.id && !m?.preset) as model}
<option value={model.id} class=" text-gray-500">{model.name}</option>
<option value={model.id} class=" text-gray-900">{model.name}</option>
{/each}
</select>
</div>