Skip to content

Commit

Permalink
merge style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijithmuthyala committed Jul 27, 2023
1 parent 84828d8 commit 3e078bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/Searchbar/SearchbarSuggestions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ export const SearchbarSuggestions: React.FC<SuggestionsProps> = ({
onSuggestionClick,
}) => {
return (
<ul className="absolute z-10 bg-white dark:bg-gray-800 w-full py-2 mt-1 rounded-lg shadow-lg">
<ul className="absolute z-10 text-light-primary bg-theme-secondary w-full mt-1 rounded-lg shadow-2xl">
{suggestions.map((suggestion) => (
<li
key={suggestion}
className="px-4 py-2 cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-700"
className="px-4 py-2 cursor-pointer hover:bg-[rgba(0,0,0,0.2)] capitalize"
onClick={() => onSuggestionClick(suggestion)}
>
{suggestion}
{suggestion.replace('-', ' ')}
</li>
))}
</ul>
Expand Down

0 comments on commit 3e078bd

Please sign in to comment.