Skip to content

Commit

Permalink
style: add overflow-y-scroll for clusters selector dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
yixyxiu committed Jan 19, 2025
1 parent 769a130 commit dba7b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/demo/src/components/Dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export function Dropdown({
</svg>
</button>
{isOpen && (
<div className="absolute bottom-12 right-0 z-10 mt-2 w-full rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5">
<div className="absolute bottom-12 right-0 z-10 mt-2 w-full rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 max-h-96 overflow-y-scroll">
<div className="py-1">
{options.map(({ name, displayName, iconName }) => (
<button
Expand Down

0 comments on commit dba7b26

Please sign in to comment.