mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-06 08:18:53 +00:00
fix: let the model defaults capability and prompt suggestion sections scroll (#29235)
This commit is contained in:
parent
756241b34a
commit
95032b6c61
1 changed files with 11 additions and 2 deletions
|
|
@ -168,7 +168,11 @@
|
|||
</button>
|
||||
|
||||
{#if showCapabilities}
|
||||
<div class="pb-2" on:click={updateDirty} on:change={updateDirty}>
|
||||
<div
|
||||
class="max-h-[24rem] overflow-y-auto pb-2 pr-1 scrollbar-hover"
|
||||
on:click={updateDirty}
|
||||
on:change={updateDirty}
|
||||
>
|
||||
<Capabilities bind:capabilities={defaultCapabilities} />
|
||||
|
||||
{#if availableFeatures.length > 0}
|
||||
|
|
@ -231,7 +235,12 @@
|
|||
</button>
|
||||
|
||||
{#if showPromptSuggestions}
|
||||
<div class="pb-2" on:click={updateDirty} on:change={updateDirty} on:input={updateDirty}>
|
||||
<div
|
||||
class="max-h-[24rem] overflow-y-auto pb-2 pr-1 scrollbar-hover"
|
||||
on:click={updateDirty}
|
||||
on:change={updateDirty}
|
||||
on:input={updateDirty}
|
||||
>
|
||||
<PromptSuggestions bind:promptSuggestions />
|
||||
</div>
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue