mirror of
https://github.com/immich-app/immich.git
synced 2026-02-13 23:14:20 -05:00
* fix(web): prevent context menu from overflowing viewport The context menu used `max-h-dvh` (100% viewport height) as its max height, but did not account for the menu's top position. When the menu opens at y > 0, its bottom extends beyond the viewport. Compute `maxHeight` dynamically based on the menu's top position and apply it as an inline style, so the menu always fits within the viewport and scrolls when content exceeds the available space. * fix: linting * fix: overflow --------- Co-authored-by: Jason Rasmussen <jason@rasm.me>