Page MenuHomePhabricator

[Grid] Move main menu checkbox outside of grid container
Closed, DeclinedPublic

Description

Background

The main menu checkbox impacts Vector's layout, when there's no ToC and the main menu is open, it is 2 column, and when its closed its single column. Because the checkbox is a child of the grid container, we cannot directly update the grid template columns based off the checkbox. Moving the checkbox simplifies our grid styles and help prepare the layout for the full width toggle

AC

  • no visual changes
  • the main menu checkbox is outside of .mw-page-container-inner

Developer notes

This task will involve cached HTML changes
This task is ideally done after T318011, which needs to be replaced/moved when the main menu checkbox is moved

Event Timeline

Change 842512 had a related patch set uploaded (by Bernard Wang; author: Bernard Wang):

[mediawiki/skins/Vector@master] POC: move main menu checkbox outside of grid container to simplify layout styles

https://gerrit.wikimedia.org/r/842512

Change 842512 abandoned by Bernard Wang:

[mediawiki/skins/Vector@master] POC: move main menu checkbox outside of grid container to simplify layout styles

Reason:

https://gerrit.wikimedia.org/r/842512

This will be fixed by T317899, which will make the checkbox irrelevant to the grid layout. Instead, the main menu pinned classes will update the grid layout