mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	refac: styling
This commit is contained in:
		
							parent
							
								
									c489d473b9
								
							
						
					
					
						commit
						170361c27e
					
				@ -229,7 +229,7 @@
 | 
			
		||||
				{#each filteredItems as item}
 | 
			
		||||
					<button
 | 
			
		||||
						aria-label="model-item"
 | 
			
		||||
						class="flex w-full text-left font-medium line-clamp-1 select-none items-center rounded-button py-2 pl-3 pr-1.5 text-sm text-gray-700 dark:text-gray-100 outline-none transition-all duration-75 hover:bg-gray-100 dark:hover:bg-gray-850 rounded-lg cursor-pointer data-[highlighted]:bg-muted"
 | 
			
		||||
						class="flex w-full text-left font-medium line-clamp-1 select-none items-center rounded-button py-2 pl-3 pr-1.5 text-sm text-gray-700 dark:text-gray-100 outline-none transition-all duration-75 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer data-[highlighted]:bg-muted"
 | 
			
		||||
						on:click={() => {
 | 
			
		||||
							value = item.value;
 | 
			
		||||
 | 
			
		||||
@ -313,7 +313,7 @@
 | 
			
		||||
 | 
			
		||||
				{#if !(searchValue.trim() in $MODEL_DOWNLOAD_POOL) && searchValue && ollamaVersion && $user.role === 'admin'}
 | 
			
		||||
					<button
 | 
			
		||||
						class="flex w-full font-medium line-clamp-1 select-none items-center rounded-button py-2 pl-3 pr-1.5 text-sm text-gray-700 dark:text-gray-100 outline-none transition-all duration-75 hover:bg-gray-100 dark:hover:bg-gray-850 rounded-lg cursor-pointer data-[highlighted]:bg-muted"
 | 
			
		||||
						class="flex w-full font-medium line-clamp-1 select-none items-center rounded-button py-2 pl-3 pr-1.5 text-sm text-gray-700 dark:text-gray-100 outline-none transition-all duration-75 hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg cursor-pointer data-[highlighted]:bg-muted"
 | 
			
		||||
						on:click={() => {
 | 
			
		||||
							pullModelHandler();
 | 
			
		||||
						}}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user