mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-09-11 02:32:20 +02:00
- 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.