Steps to replicate the issue (include links if applicable):
- Open arbitrary wikipage with a hatnote and an infobox in Vector 22, such as https://en.wikipedia.org/wiki/World_of_Warcraft?useskin=vector-2022
What happens?:
Styling from hatnote.less and infobox.less is applying at all resolutions
What should have happened instead?:
Hatnote.less and infobox.less should be limited to some reasonable width, e.g. mobile resolutions. Image from archive.org:
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):
There might be other files in the 'hacks.less' bucket that are also applying when that wasn't the intention that should be reviewed.
Onwiki discussion: https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(technical)#Thursday_13_June_style_changes