Compare commits
6 Commits
master
...
wmf/1.39.0
Author | SHA1 | Date |
---|---|---|
Urbanecm | 08329989a7 | |
Urbanecm | 18e0cb0df8 | |
bwang | 6537e8913c | |
bwang | 6ebd77ae5a | |
Jon Robson | e0ff7634ac | |
bwang | 197921bdbe |
|
@ -24,6 +24,8 @@
|
|||
}
|
||||
|
||||
.mw-content-container {
|
||||
max-width: @max-width-content-container;
|
||||
|
||||
// For container logic specific to special pages and history pages.
|
||||
.skin-vector-disable-max-width & {
|
||||
// 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
|
||||
// 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 New Issue