This commit is contained in:
Timothy Jaeryang Baek 2025-01-13 22:59:13 -08:00
parent c19a17a820
commit 825516be11
3 changed files with 21 additions and 3 deletions

View File

@ -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;
}

View File

@ -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>

View File

@ -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) {