mirror of
https://github.com/open-webui/open-webui
synced 2025-03-06 20:42:49 +00:00
Merge branch 'open-webui:dev' into dev
This commit is contained in:
commit
aa8d26496c
@ -436,7 +436,7 @@
|
|||||||
{@const status = (
|
{@const status = (
|
||||||
message?.statusHistory ?? [...(message?.status ? [message?.status] : [])]
|
message?.statusHistory ?? [...(message?.status ? [message?.status] : [])]
|
||||||
).at(-1)}
|
).at(-1)}
|
||||||
<div class="flex items-center gap-2 pt-1 pb-1">
|
<div class="flex items-center gap-2 pt-0.5 pb-1">
|
||||||
{#if status.done === false}
|
{#if status.done === false}
|
||||||
<div class="">
|
<div class="">
|
||||||
<Spinner className="size-4" />
|
<Spinner className="size-4" />
|
||||||
|
@ -20,7 +20,10 @@
|
|||||||
<ChevronDown strokeWidth="3.5" className="size-3.5 " />
|
<ChevronDown strokeWidth="3.5" className="size-3.5 " />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="text-sm border border-gray-300/30 dark:border-gray-700/50 rounded-xl" slot="content">
|
<div
|
||||||
|
class="text-sm border border-gray-300/30 dark:border-gray-700/50 rounded-xl mb-1.5"
|
||||||
|
slot="content"
|
||||||
|
>
|
||||||
{#if status?.query}
|
{#if status?.query}
|
||||||
<a
|
<a
|
||||||
href="https://www.google.com/search?q={status.query}"
|
href="https://www.google.com/search?q={status.query}"
|
||||||
|
@ -29,18 +29,10 @@
|
|||||||
</button>
|
</button>
|
||||||
{:else}
|
{:else}
|
||||||
<button on:click={() => (open = !open)}>
|
<button on:click={() => (open = !open)}>
|
||||||
<slot />
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="flex items-center gap-2 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition"
|
class="flex items-center gap-2 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 transition"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
|
|
||||||
{#if open}
|
|
||||||
<ChevronUp strokeWidth="3.5" className="size-3.5 " />
|
|
||||||
{:else}
|
|
||||||
<ChevronDown strokeWidth="3.5" className="size-3.5 " />
|
|
||||||
{/if}
|
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
{/if}
|
{/if}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user