mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
6362845065
commit
4364dac226
2 changed files with 3 additions and 4 deletions
|
|
@ -2077,12 +2077,13 @@
|
|||
>
|
||||
{#if !loading}
|
||||
<div in:fade={{ duration: 50 }} class="w-full h-full flex flex-col">
|
||||
{#if $settings?.backgroundImageUrl ?? null}
|
||||
{#if $settings?.backgroundImageUrl ?? $config?.license_metadata?.background_image_url ?? null}
|
||||
<div
|
||||
class="absolute {$showSidebar
|
||||
? 'md:max-w-[calc(100%-260px)] md:translate-x-[260px]'
|
||||
: ''} top-0 left-0 w-full h-full bg-cover bg-center bg-no-repeat"
|
||||
style="background-image: url({$settings.backgroundImageUrl}) "
|
||||
style="background-image: url({$settings?.backgroundImageUrl ??
|
||||
$config?.license_metadata?.background_image_url}) "
|
||||
/>
|
||||
|
||||
<div
|
||||
|
|
|
|||
|
|
@ -171,8 +171,6 @@
|
|||
}
|
||||
|
||||
selectedIdx = Math.max(selectedIdx - 1, 0);
|
||||
} else {
|
||||
selectedIdx = 0;
|
||||
}
|
||||
|
||||
const item = document.querySelector(`[data-arrow-selected="true"]`);
|
||||
|
|
|
|||
Loading…
Reference in a new issue