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
f2525ebc44
commit
7f523de408
1 changed files with 6 additions and 1 deletions
|
|
@ -8,9 +8,14 @@
|
||||||
let state = false;
|
let state = false;
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Collapsible grow={true} className="w-full" buttonClassName="w-full">
|
<Collapsible grow={true} className="w-full" buttonClassName="w-full" bind:open={state}>
|
||||||
<div class="flex items-center gap-2 text-gray-500 transition">
|
<div class="flex items-center gap-2 text-gray-500 transition">
|
||||||
<slot />
|
<slot />
|
||||||
|
{#if state}
|
||||||
|
<ChevronUp strokeWidth="2.5" className="size-3.5 " />
|
||||||
|
{:else}
|
||||||
|
<ChevronDown strokeWidth="2.5" className="size-3.5 " />
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue