mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
chore: format
This commit is contained in:
parent
78ba18a680
commit
ca3f8e6cb5
1 changed files with 5 additions and 1 deletions
|
|
@ -20,7 +20,11 @@
|
||||||
<button on:click={() => (open = !open)}>
|
<button on:click={() => (open = !open)}>
|
||||||
<slot name="head" />
|
<slot name="head" />
|
||||||
</button>
|
</button>
|
||||||
<div bind:this={contentElement} class={`collapsible-content ${open ? 'mt-1' : '!mt-0'}`} style="max-height: {maxHeight};">
|
<div
|
||||||
|
bind:this={contentElement}
|
||||||
|
class={`collapsible-content ${open ? 'mt-1' : '!mt-0'}`}
|
||||||
|
style="max-height: {maxHeight};"
|
||||||
|
>
|
||||||
<slot name="content" />
|
<slot name="content" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue