Skip to content

Commit

Permalink
updated filters dropdown in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
devilkiller-ag committed Aug 29, 2024
1 parent 9a32691 commit 57136f1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions components/tools/FiltersDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export default function FiltersDropdown({

return (
<div
className={twMerge(`max-w-lg flex gap-2 flex-wrap p-2 duration-200 delay-150 ${className}`)}
className={twMerge(
`max-w-lg flex flex-col max-h-[40vh] gap-1 overflow-y-auto p-2 px-0 duration-200 delay-150 bg-gray-400 ${className}`
)}
data-testid='FiltersDropdown-div'
>
{dataList.map((data, index) => {
Expand All @@ -44,7 +46,7 @@ export default function FiltersDropdown({
<div
key={index}
className={twMerge(
`border border-secondary-600 text-secondary-600 p-1 pb-0 rounded-2xl flex gap-1 cursor-pointer items-start ${checked ? 'bg-secondary-600 text-white' : ''}`
`hover:bg-gray-500 text-black p-1 gap-1 flex cursor-pointer items-start ${checked ? 'bg-gray-600 text-white' : ''}`
)}
onClick={(event) => handleClickOption(event, data.name)}
>
Expand Down
2 changes: 1 addition & 1 deletion public/img/illustrations/icons/CheckedIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/img/illustrations/icons/UncheckedIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 57136f1

Please sign in to comment.