Skip to content

Commit

Permalink
improve select functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
samlhuillier committed Dec 27, 2023
1 parent 46b0451 commit 9cc2907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Generic/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ const CustomSelect: React.FC<CustomSelectProps> = ({
</span>
</div>
{isOpen && (
<div className="absolute w-full border border-gray-300 rounded-md shadow-lg z-10 bg-white">
<div className="absolute w-full text-[13px] border text-gray-600 border-gray-300 rounded-md shadow-lg z-10 bg-white">
{options.map((option, index) => (
<div
key={index}
className=" py-2 hover:bg-gray-100 cursor-pointer"
className=" py-2 pl-2 hover:bg-gray-100 cursor-pointer rounded-md "
onClick={() => handleOptionClick(option)}
>
{option}
Expand Down

0 comments on commit 9cc2907

Please sign in to comment.