forked from open-webui/open-webui
		
	Merge pull request #1623 from que-nguyen/main
Fix hover and selected state issues for reason buttons in light theme.
This commit is contained in:
		
						commit
						21cc6ebcb7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -81,9 +81,9 @@ | ||||||
| 		<div class="flex flex-wrap gap-2 text-sm mt-2.5"> | 		<div class="flex flex-wrap gap-2 text-sm mt-2.5"> | ||||||
| 			{#each reasons as reason} | 			{#each reasons as reason} | ||||||
| 				<button | 				<button | ||||||
| 					class="px-3.5 py-1 border dark:border-gray-850 dark:hover:bg-gray-850 {selectedReason === | 					class="px-3.5 py-1 border dark:border-gray-850 hover:bg-gray-100 dark:hover:bg-gray-850 {selectedReason === | ||||||
| 					reason | 					reason | ||||||
| 						? 'dark:bg-gray-800' | 						? 'bg-gray-200 dark:bg-gray-800' | ||||||
| 						: ''} transition rounded-lg" | 						: ''} transition rounded-lg" | ||||||
| 					on:click={() => { | 					on:click={() => { | ||||||
| 						selectedReason = reason; | 						selectedReason = reason; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy Jaeryang Baek
						Timothy Jaeryang Baek