mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-12 01:09:20 +00:00
Merge "[Zebra] Remove old grid styles"
This commit is contained in:
commit
9ffb86726a
|
@ -69,27 +69,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.vector-feature-limited-width-disabled .mw-content-container,
|
||||
&.vector-feature-limited-width-content-disabled .mw-content-container {
|
||||
// Allow the max-width of content on history/special pages to be wider than
|
||||
// the max-width of content on article pages.
|
||||
// Note, we don't disable the max-width on .vector-page-toolbar-container intentionally
|
||||
// to support easier navigation between tabs.
|
||||
// See T293441 for further information on that.
|
||||
// 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;
|
||||
}
|
||||
|
||||
// Horizontally center content when column start is empty (i.e. no pinned ToC or pinned main menu)
|
||||
&.vector-feature-main-menu-pinned-disabled .vector-sidebar-container-no-toc ~ .mw-content-container,
|
||||
&.vector-feature-main-menu-pinned-disabled.vector-feature-toc-pinned-disabled .mw-content-container {
|
||||
grid-column: mainMenu / pageContent;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
||||
.mw-body {
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media ( min-width: @min-width-desktop ) {
|
||||
|
|
Loading…
Reference in a new issue