code4recovery / tsml-ui

Embeddable recovery meeting finder
https://tsml-ui.code4recovery.org/
MIT License
23 stars 17 forks source link

dropdowns shouldn't be taller than the viewport #404

Open joshreisner opened 3 months ago

joshreisner commented 3 months ago

perhaps have a maxHeight and scroll internally? this is an issue with the Anywhere dropdown on aastl.org/meetings mentioned in https://github.com/code4recovery/pdf/discussions/73#discussioncomment-10317493

gkovats commented 3 months ago

image

max-height: 50vh;
overflow-y: auto;

Not the prettiest, but seems to work?

joshreisner commented 3 months ago

yah! maybe a little bigger even, like 80vh? whatever feels right

joshreisner commented 3 months ago

we should test it on mobile as well, might be weird there if it scrolls in two places