Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

Give list box a max-height

Luke Vellaa48d75f45d7b
diff --git a/components/poll/mobile-poll/mobile-poll.tsx b/components/poll/mobile-poll/mobile-poll.tsx
index 5d3a9ed5f..906fafdba 100644
--- a/components/poll/mobile-poll/mobile-poll.tsx
+++ b/components/poll/mobile-poll/mobile-poll.tsx
@@ -144,7 +144,7 @@ const MobilePoll: React.VoidFunctionComponent<PollProps> = ({
<ChevronDown className="h-5" />
</Listbox.Button>
<TransitionPopInOut>
- <Listbox.Options className="menu-items w-full">
+ <Listbox.Options className="menu-items w-full max-h-72 overflow-auto">
<Listbox.Option value={undefined} className={styleMenuItem}>
Show all
</Listbox.Option>