Visual regression introduced by T320101. More context
Steps to replicate the issue (include links if applicable):
- Go to https://en.wikipedia.beta.wmflabs.org/wiki/Polar_bear?useskin=vector-2022
- Press "hide" to collapse the ToC into the page title.
- Reduce viewport below 1000px and compare spacing between page title and ToC button
What happens?:
Total spacing between the ToC button icon and the page title changes from 10px to 17px below 1000px
What should have happened instead?:
The spacing between the ToC button icon and the page title should stay the same at 16px or 17px
Screenshots comparing change to master prior to deployment of visual enhancements feature flag:
https://phab.wmfusercontent.org/file/data/fxptotudlpxq4lygdeye/PHID-FILE-vjmqvm7lqtrr3aqoiano/preview-Screen_Shot_2022-11-09_at_4.22.15_PM.png
https://jmp.sh/Wh7Mecqr