forked from open-webui/open-webui
		
	fix: prompt suggestions styling
This commit is contained in:
		
							parent
							
								
									62bb3043c5
								
							
						
					
					
						commit
						99faf90324
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		|  | @ -12,7 +12,9 @@ | |||
| 
 | ||||
| <div class=" flex flex-wrap-reverse mb-3 md:p-1 text-left w-full"> | ||||
| 	{#each prompts as prompt, promptIdx} | ||||
| 		<div class="{promptIdx > 1 ? 'hidden sm:inline-flex' : ''} basis-full sm:basis-1/2 p-[5px]"> | ||||
| 		<div | ||||
| 			class="{promptIdx > 1 ? 'hidden sm:inline-flex' : ''} basis-full sm:basis-1/2 p-[5px] px-2" | ||||
| 		> | ||||
| 			<button | ||||
| 				class=" flex-1 flex justify-between w-full h-full px-4 py-2.5 bg-white hover:bg-gray-50 dark:bg-gray-900 dark:hover:bg-gray-700 outline outline-1 outline-gray-200 dark:outline-gray-800 rounded-lg transition group" | ||||
| 				on:click={() => { | ||||
|  | @ -22,7 +24,7 @@ | |||
| 				<div class="flex flex-col text-left self-center"> | ||||
| 					{#if prompt.title && prompt.title[0] !== ''} | ||||
| 						<div class="text-sm font-medium dark:text-gray-300">{prompt.title[0]}</div> | ||||
| 						<div class="text-sm text-gray-500">{prompt.title[1]}</div> | ||||
| 						<div class="text-sm text-gray-500 line-clamp-1">{prompt.title[1]}</div> | ||||
| 					{:else} | ||||
| 						<div class=" self-center text-sm font-medium dark:text-gray-300 line-clamp-2"> | ||||
| 							{prompt.content} | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Timothy J. Baek
						Timothy J. Baek