fix: refine search modal styling and list component

This commit is contained in:
David Hill
2026-01-17 00:28:44 +00:00
parent db10294cc2
commit 12d87e9c49
2 changed files with 12 additions and 5 deletions
@@ -134,14 +134,14 @@ export function DialogSelectFile() {
})
return (
<Dialog title="Search">
<Dialog class="pt-3 pb-0">
<List
search={{ placeholder: "Search files and commands", autofocus: true, hideIcon: true, class: "px-3" }}
search={{ placeholder: "Search files and commands", autofocus: true, hideIcon: true, class: "pl-3 pr-2 !mb-0" }}
emptyMessage="No results found"
items={items}
key={(item) => item.id}
filterKeys={["title", "description", "category"]}
groupBy={(item) => (grouped() ? item.category : "")}
groupBy={(item) => item.category}
onMove={handleMove}
onSelect={handleSelect}
>