Steps to replicate the issue (include links if applicable):
- Visit https://en.wikipedia.beta.wmflabs.org/w/index.php?title=T391781 on a mobile browser which has a large red box which is not responsive
What happens?:
On Vector 2022 it overlaps the sidebar:
On mobile it gets cut off so you can't read all its contents.
What should have happened instead?:
The content should be responsive but is not and should be fixed to be responsive (See https://m.mediawiki.org/wiki/Recommendations_for_mobile_friendly_articles_on_Wikimedia_wikis)
However, it's not clear which of the current behaviours is preferable for skins for handling content that isn't fixed.
Options are:
- We could put a scroll on the entire content area (which is confusing in mobile context as it's not clear until you scroll to the appropriate content to why that exists)
- You could make the entire skin non-responsive (even more confusing if you accidentally scroll to the right as you can lose the menu links
- Identify these elements and provide a control to explicitly break it out of the content https://gerrit.wikimedia.org/r/c/mediawiki/skins/MinervaNeue/+/1128938
- Keep the status quo
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
Original report
I'm not entirely sure whether this is a bug, but given the lack of announcement in Tech News, I'm reporting it here just in case.
It seems like starting recently, the mw-mf-page-center gained the style overflow: hidden. The issue is that some gadgets/templates create overly wide elements and assume that the user will be able to scroll to the right to see them. This change means that they are unusable on mobile (although in most cases a simple fix is possible). I tried manually overriding the style, but this causes a horizontal scrollbar to appear, which I was able to attribute to two parts of the Minerva interface (.minerva-user-menu and #p-views .toggle-list). It seems like those two elements are what need to be fixed, rather than having a blanket style clipping everything on the page.
If this change was intentional, I wish that it had been communicated better, seeing how it has caused some breakage.





