Merge pull request #101 from ollama-webui/dev

fix: model select option text styling
This commit is contained in:
Timothy Jaeryang Baek 2023-11-12 15:27:44 -05:00 committed by GitHub
commit 8301a60cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -8,7 +8,7 @@ export const API_BASE_URL =
: `http://localhost:11434/api` : `http://localhost:11434/api`
: PUBLIC_API_BASE_URL; : PUBLIC_API_BASE_URL;
export const WEB_UI_VERSION = 'v1.0.0-alpha.3'; export const WEB_UI_VERSION = 'v1.0.0-alpha.5';
// Source: https://kit.svelte.dev/docs/modules#$env-static-public // Source: https://kit.svelte.dev/docs/modules#$env-static-public
// This feature, akin to $env/static/private, exclusively incorporates environment variables // This feature, akin to $env/static/private, exclusively incorporates environment variables

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>