mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 05:18:15 +00:00
chore: format
This commit is contained in:
parent
78ba18a680
commit
ca3f8e6cb5
@ -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 New Issue
Block a user