Skip to content

Commit 454dc26

Browse files
manask-pradhanhkirat
authored andcommitted
fix: search result container overflow fix (#1597)
1 parent ea76353 commit 454dc26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/search/SearchResults.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function SearchResults({
5151
<div
5252
className={`absolute ${
5353
isMobile ? 'top-full' : 'top-12'
54-
} z-30 max-h-[40vh] w-full rounded-lg border-2 bg-background p-2 shadow-lg`}
54+
} z-30 max-h-[40vh] w-full overflow-y-scroll rounded-lg border-2 bg-background p-2 shadow-lg`}
5555
>
5656
{renderSearchResults()}
5757
</div>

0 commit comments

Comments
 (0)