f89a4b688f
This aligns the message context menu on either the top or the bottom of the button that triggers, depending on which side has more space available to fit the menu. Fixes https://github.com/vector-im/riot-web/issues/9624