mirror of
				https://github.com/open-webui/desktop
				synced 2025-06-26 18:15:59 +00:00 
			
		
		
		
	refac
This commit is contained in:
		
							parent
							
								
									c19a17a820
								
							
						
					
					
						commit
						825516be11
					
				| @ -21,6 +21,10 @@ | ||||
| 	-webkit-app-region: no-drag; | ||||
| } | ||||
| 
 | ||||
| .no-drag-region { | ||||
| 	-webkit-app-region: no-drag; | ||||
| } | ||||
| 
 | ||||
| .font-secondary { | ||||
| 	font-family: 'InstrumentSerif', sans-serif; | ||||
| } | ||||
| @ -68,3 +72,17 @@ html { | ||||
| .tippy-box[data-theme~='dark'] { | ||||
| 	@apply rounded-lg bg-gray-950 text-xs border border-gray-900 shadow-xl; | ||||
| } | ||||
| 
 | ||||
| .scrollbar-hidden:active::-webkit-scrollbar-thumb, | ||||
| .scrollbar-hidden:focus::-webkit-scrollbar-thumb, | ||||
| .scrollbar-hidden:hover::-webkit-scrollbar-thumb { | ||||
| 	visibility: visible; | ||||
| } | ||||
| 
 | ||||
| .scrollbar-hidden::-webkit-scrollbar-thumb { | ||||
| 	visibility: hidden; | ||||
| } | ||||
| 
 | ||||
| .scrollbar-hidden::-webkit-scrollbar-corner { | ||||
| 	display: none; | ||||
| } | ||||
| @ -101,7 +101,7 @@ | ||||
| 
 | ||||
| 					{#if showLogs} | ||||
| 						<div | ||||
| 							class="text-xs font-mono text-left max-h-60 overflow-y-auto max-w-2xl w-full flex flex-col-reverse" | ||||
| 							class="text-xs font-mono text-left max-h-60 overflow-y-auto max-w-2xl w-full flex flex-col-reverse scrollbar-hidden no-drag-region" | ||||
| 						> | ||||
| 							{#each $serverLogs.reverse() as log, idx} | ||||
| 								<div class="text-xs font-mono">{log}</div> | ||||
| @ -181,7 +181,7 @@ | ||||
| 
 | ||||
| 							{#if showLogs} | ||||
| 								<div | ||||
| 									class="text-xs font-mono text-left max-h-60 overflow-y-auto max-w-2xl w-full flex flex-col-reverse" | ||||
| 									class="text-xs font-mono text-left max-h-60 overflow-y-auto max-w-2xl w-full flex flex-col-reverse scrollbar-hidden no-drag-region" | ||||
| 								> | ||||
| 									{#each $serverLogs.reverse() as log, idx} | ||||
| 										<div class="text-xs font-mono">{log}</div> | ||||
|  | ||||
| @ -376,7 +376,7 @@ export async function validateInstallation(installationPath?: string): Promise<b | ||||
| 	try { | ||||
| 		const checkCommand = | ||||
| 			process.platform === 'win32' | ||||
| 				? `${installationPath}\\Scripts\\activate.bat && pip show open-webui` | ||||
| 				? `"${installationPath}\\Scripts\\activate.bat" && pip show open-webui` | ||||
| 				: `source "${installationPath}/bin/activate" && pip show open-webui`; | ||||
| 		execSync(checkCommand, { stdio: 'ignore' }); | ||||
| 	} catch (error) { | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user