Browse Source

Merge pull request #101 from ollama-webui/dev

fix: model select option text styling
Timothy Jaeryang Baek 1 năm trước cách đây
mục cha
commit
8301a60cd9
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      src/lib/constants.ts
  2. 2 2
      src/routes/+page.svelte

+ 1 - 1
src/lib/constants.ts

@@ -8,7 +8,7 @@ export const API_BASE_URL =
 			: `http://localhost:11434/api`
 		: 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
 // This feature, akin to $env/static/private, exclusively incorporates environment variables

+ 2 - 2
src/routes/+page.svelte

@@ -1145,13 +1145,13 @@
 									bind:value={selectedModel}
 									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}
 										{#if model.name === 'hr'}
 											<hr />
 										{: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}
 									{/each}
 								</select>