Skip to content

Commit

Permalink
Make item search result link fill full container
Browse files Browse the repository at this point in the history
  • Loading branch information
sandervspl committed Mar 10, 2024
1 parent 49b5f10 commit 7a6621e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/website/src/components/common/item-search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ export const ItemSearch = () => {
<Combobox.ItemGroup id="items">
{searchQuery.data?.map((item) => (
<Combobox.Item key={item.id} item={item.slug}>
<Combobox.ItemText>
<Combobox.ItemText asChild>
<Link
href={$path({
route: '/item/[...item]',
routeParams: {
item: [settings.realm, settings.region, settings.faction, item.slug],
},
})}
className="flex items-center justify-start w-full gap-2"
className="flex items-center justify-start w-full gap-2 h-full"
onClick={() => {
setValue('');
inputRef.current?.blur();
Expand Down

0 comments on commit 7a6621e

Please sign in to comment.