mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-06-18 10:45:31 -04:00
4811af7ab2
- Horizontal: max-width and left already clamped to viewport-16. - Vertical: prefer below the button, but flip ABOVE if there's more space there (e.g. button near the bottom of the viewport). - max-height clamped to viewport-16 with overflow:auto as a final guard so the menu can never extend past the screen edge.