Description
In T307901: Add link that allows to hide/show the ToC manually on all screen sizes above 1000px we made the ToC collapsible at all widths. When the ToC is collapsed the content should be centered (at all widths).
Prototype
https://di-collapsible-menus.web.app/Flamingo
Demo
Acceptance criteria
- when ToC is collapsed, content is centered on page (at all widths)
QA
- QA the example in the bug report
- Do some exploratory testing on special pages, opening and closing the sidebar and table of contents. Make sure the max-width is applying correctly. For example on Special:RecentChanges the max-width shouldn't apply and on Special:Preferences it should always apply.