Compare commits
6 Commits
master
...
wmf/1.39.0
Author | SHA1 | Date |
---|---|---|
|
08329989a7 | |
|
18e0cb0df8 | |
|
6537e8913c | |
|
6ebd77ae5a | |
|
e0ff7634ac | |
|
197921bdbe |
|
@ -24,6 +24,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.mw-content-container {
|
.mw-content-container {
|
||||||
|
max-width: @max-width-content-container;
|
||||||
|
|
||||||
// For container logic specific to special pages and history pages.
|
// For container logic specific to special pages and history pages.
|
||||||
.skin-vector-disable-max-width & {
|
.skin-vector-disable-max-width & {
|
||||||
// Allow the max-width of content on history/special pages to be wider than
|
// Allow the max-width of content on history/special pages to be wider than
|
||||||
|
@ -31,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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue