Steps to replicate the issue (include links if applicable):
- Go to https://mismatch-finder.toolforge.org in a browser window wider than 608px but narrow enough so that the language selector wraps to a new line
- Open the language selector itself
What happens?:
The language options menu is cut off, overflowing to the left of the page.
And overflowing to the right in RTL languages:
What should have happened instead?:
The language options menu is visible and is aligned to the language selector button's right side.
Other information (browser name/version, screenshots, etc.):
Seen on Firefox 115.0.2 on Ubuntu 22.04
Notes
This seems to also occur on the Wikidata Query Builder.



