fix: add search for Opportunities and Cannibalization

This commit is contained in:
Carl-Gerhard Lindesvärd
2026-03-11 11:30:19 +01:00
parent 6e1daf2c76
commit 05cf6bb39f
3 changed files with 130 additions and 73 deletions

View File

@@ -732,10 +732,10 @@ function GscTable({
)}
</div>
{onSearchChange != null && (
<div className="relative border-t">
<div className="relative">
<SearchIcon className="absolute top-1/2 left-3 size-4 -translate-y-1/2 text-muted-foreground" />
<Input
className="rounded-none border-0 border-y bg-transparent pl-9 text-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-foreground focus-visible:ring-offset-0"
className="rounded-none border-0 border-t bg-transparent pl-9 text-sm focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-foreground focus-visible:ring-offset-0"
onChange={(e) => onSearchChange(e.target.value)}
placeholder={searchPlaceholder ?? 'Search'}
type="search"