fix: model select option text styling

This commit is contained in:
Timothy J. Baek 2023-11-12 12:24:13 -08:00
parent 9afb7fff02
commit a938ab3023

View file

@ -1145,13 +1145,13 @@
bind:value={selectedModel} bind:value={selectedModel}
disabled={messages.length != 0} disabled={messages.length != 0}
> >
<option value="" selected>Select a model</option> <option class=" text-gray-700" value="" selected>Select a model</option>
{#each models as model} {#each models as model}
{#if model.name === 'hr'} {#if model.name === 'hr'}
<hr /> <hr />
{:else} {:else}
<option value={model.name} class=" text-lg">{model.name}</option> <option value={model.name} class="text-gray-700 text-lg">{model.name}</option>
{/if} {/if}
{/each} {/each}
</select> </select>