🎨 style(dropdownComponent/index.tsx): add custom-scroll class to dropdown options to enable custom scrolling

This commit is contained in:
Cristhian Zanforlin Lousa 2023-07-10 12:15:39 -03:00
commit f751927ab1

View file

@ -63,8 +63,8 @@ export default function Dropdown({
<Listbox.Options
className={classNames(
editNode
? "dropdown-component-true-options nowheel"
: "dropdown-component-false-options nowheel",
? "dropdown-component-true-options nowheel custom-scroll"
: "dropdown-component-false-options nowheel custom-scroll",
apiModal ? "mb-2 w-[250px]" : "absolute"
)}
>