fix: let the model defaults capability and prompt suggestion sections scroll (#29235)
This commit is contained in:
1 file changed
+11
-2
@@ -168,7 +168,11 @@
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
{#if showCapabilities}
|
{#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} />
|
<Capabilities bind:capabilities={defaultCapabilities} />
|
||||||
|
|
||||||
{#if availableFeatures.length > 0}
|
{#if availableFeatures.length > 0}
|
||||||
@@ -231,7 +235,12 @@
|
|||||||
</button>
|
</button>
|
||||||
|
|
||||||
{#if showPromptSuggestions}
|
{#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 />
|
<PromptSuggestions bind:promptSuggestions />
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user