Skip to content

Commit

Permalink
Merge pull request #1086 from csgaikwad/fix_search_result_zIndex
Browse files Browse the repository at this point in the history
fix: Adjust z-index for improved search results visibility (#1082)
  • Loading branch information
siinghd authored Aug 30, 2024
2 parents a999161 + 79fa2a1 commit 10309e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const SearchBar = ({ onCardClick }: { onCardClick?: () => void }) => {

{/* Search Results */}
{isInputFocused && searchTerm.length > 0 && (
<div className="absolute top-14 z-10 max-h-[40vh] w-full overflow-y-auto rounded-lg border-2 bg-white py-2 shadow-lg dark:bg-[#020817]">
<div className="absolute top-14 z-30 max-h-[40vh] w-full overflow-y-auto rounded-lg border-2 bg-white py-2 shadow-lg dark:bg-[#020817]">
{renderSearchResults()}
</div>
)}
Expand Down

0 comments on commit 10309e6

Please sign in to comment.