Layout: Restore disabling of max width on certain pages

Bug: T315460
Depends-On: Id3ee4fe97461dbc80f7c163c3585a9df2957bae0
Change-Id: I9bad936c06150cd01d4e60f4a92a5c4d28b5fe16
(cherry picked from commit ecbe2c2855)
This commit is contained in:
Jon Robson 2022-08-22 11:33:10 +01:00 committed by Urbanecm
parent 197921bdbe
commit e0ff7634ac
1 changed files with 6 additions and 2 deletions

View File

@ -33,8 +33,12 @@
// Note, we don't disable the max-width on .mw-article-toolbar-container intentionally
// to support easier navigation between tabs.
// See T293441 for further information on that.
max-width: none;
width: 100%;
// Both rules are !important as they are final. Max-width on a page should be restored by removing the `skin-vector-disable-max-width`,
// preferably by modification to the feature flag VectorMaxWidthOptions. Code should never attempt to override this rule.
/* stylelint-disable-next-line declaration-no-important */
max-width: none !important;
/* stylelint-disable-next-line declaration-no-important */
width: 100% !important;
}
}