mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-14 21:35:19 +00:00
Merge pull request #15479 from itk-dev/feature/suggestions-role-list
FEAT: give suggestions role list and items role listitem
This commit is contained in:
commit
6ff84d8ec0
1 changed files with 2 additions and 1 deletions
|
|
@ -83,9 +83,10 @@
|
||||||
|
|
||||||
<div class="h-40 w-full">
|
<div class="h-40 w-full">
|
||||||
{#if filteredPrompts.length > 0}
|
{#if filteredPrompts.length > 0}
|
||||||
<div class="max-h-40 overflow-auto scrollbar-none items-start {className}">
|
<div role="list" class="max-h-40 overflow-auto scrollbar-none items-start {className}">
|
||||||
{#each filteredPrompts as prompt, idx (prompt.id || prompt.content)}
|
{#each filteredPrompts as prompt, idx (prompt.id || prompt.content)}
|
||||||
<button
|
<button
|
||||||
|
role="listitem"
|
||||||
class="waterfall flex flex-col flex-1 shrink-0 w-full justify-between
|
class="waterfall flex flex-col flex-1 shrink-0 w-full justify-between
|
||||||
px-3 py-2 rounded-xl bg-transparent hover:bg-black/5
|
px-3 py-2 rounded-xl bg-transparent hover:bg-black/5
|
||||||
dark:hover:bg-white/5 transition group"
|
dark:hover:bg-white/5 transition group"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue