Skip to content

Commit

Permalink
fix: search result container overflow fix (#1597)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkmanas22 authored and hkirat committed Dec 5, 2024
1 parent ea76353 commit 454dc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search/SearchResults.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function SearchResults({
<div
className={`absolute ${
isMobile ? 'top-full' : 'top-12'
} z-30 max-h-[40vh] w-full rounded-lg border-2 bg-background p-2 shadow-lg`}
} z-30 max-h-[40vh] w-full overflow-y-scroll rounded-lg border-2 bg-background p-2 shadow-lg`}
>
{renderSearchResults()}
</div>
Expand Down

0 comments on commit 454dc26

Please sign in to comment.