Steps to replicate the issue (include links if applicable):
- Go to any page on a wiki that has the ULS rewrite enabled, like translatewiki.net: https://translatewiki.net/wiki/Special:Random
- Resize the browser window to a width that is lower than 768px (= @uls-rewrite-breakpoint-tablet)
- Reload the page (important!)
- Click the language selector at the top of the page
- Change the size of the window to be bigger than the breakpoint (so more than 768px)
What happens?:
- The ULS goes from a full-width overlay to the standard box, but its location is below the rest of the page content, instead of it floating near the trigger like it does otherwise
What should have happened instead?:
- When the window is resized to above the breakpoint, the ULS should attach itself to its trigger, like it does when the window was always at that size.
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
