Layout: Restore disabling of max width on certain pages

Bug: T315460
Change-Id: I9bad936c06150cd01d4e60f4a92a5c4d28b5fe16
This commit is contained in:
Jon Robson 2022-08-22 11:33:10 +01:00 committed by Jdlrobson
parent 392e251a62
commit ecbe2c2855

View file

@ -33,8 +33,12 @@
// Note, we don't disable the max-width on .mw-article-toolbar-container intentionally // Note, we don't disable the max-width on .mw-article-toolbar-container intentionally
// to support easier navigation between tabs. // to support easier navigation between tabs.
// See T293441 for further information on that. // See T293441 for further information on that.
max-width: none; // Both rules are !important as they are final. Max-width on a page should be restored by removing the `skin-vector-disable-max-width`,
width: 100%; // 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;
} }
} }