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:
Tim Jaeryang Baek
2025-07-02 14:50:30 +04:00
committed by GitHub

View File

@@ -83,9 +83,10 @@
<div class="h-40 w-full">
{#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)}
<button
role="listitem"
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
dark:hover:bg-white/5 transition group"