forked from open-webui/open-webui
		
	fix: select options text
This commit is contained in:
		
							parent
							
								
									9d06b7eee1
								
							
						
					
					
						commit
						4b2ecf5d9c
					
				
					 2 changed files with 5 additions and 6 deletions
				
			
		|  | @ -40,8 +40,7 @@ | |||
| 	let suggestions = ''; // $page.url.searchParams.get('suggestions'); | ||||
| 
 | ||||
| 	onMount(async () => { | ||||
| 		await createNewChat(true); | ||||
| 		await setDBandLoadChats(); | ||||
| 		await Promise.all([await createNewChat(true), await setDBandLoadChats()]); | ||||
| 	}); | ||||
| 
 | ||||
| 	////////////////////////// | ||||
|  | @ -804,17 +803,17 @@ | |||
| 					<div class="flex justify-between my-2 text-sm"> | ||||
| 						<select | ||||
| 							id="models" | ||||
| 							class="outline-none bg-transparent text-lg font-semibold rounded-lg block w-full placeholder-gray-400" | ||||
| 							class="outline-none bg-transparent text-lg font-semibold rounded-lg block w-full placeholder-gray-800" | ||||
| 							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> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek