mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-23 23:33:54 +00:00
Layout: Restore disabling of max width on certain pages
Bug: T315460 Change-Id: I9bad936c06150cd01d4e60f4a92a5c4d28b5fe16
This commit is contained in:
parent
392e251a62
commit
ecbe2c2855
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue