Compare commits

...

6 Commits

Author SHA1 Message Date
Urbanecm 08329989a7 Revert "Clean up main menu selectors"
This reverts commit 6ebd77ae5a.

Reason for revert: makes the problem worse, per jan_drewniak

Change-Id: I4d82753e7ebf5294d86e37119413410b086be6c0
2022-08-23 21:05:24 +00:00
Urbanecm 18e0cb0df8 Revert "Remove grid row gap in favor of margins"
This reverts commit 6537e8913c.

Reason for revert: makes the problem worse, per jan_drewniak

Change-Id: Icc647f45e423459a2ac266650e0c845d27ce3166
2022-08-23 21:05:10 +00:00
bwang 6537e8913c Remove grid row gap in favor of margins
Bug: T315595
Change-Id: Ibf837775d972deb29e9619cc6c12c919aae5155a
2022-08-23 20:05:43 +00:00
bwang 6ebd77ae5a Clean up main menu selectors
Change-Id: Icb7595f2ef60108f6eaf6b953f37a291678f793e
(cherry picked from commit 2d6be2e6f0)
2022-08-23 17:18:58 +00:00
Jon Robson e0ff7634ac Layout: Restore disabling of max width on certain pages
Bug: T315460
Depends-On: Id3ee4fe97461dbc80f7c163c3585a9df2957bae0
Change-Id: I9bad936c06150cd01d4e60f4a92a5c4d28b5fe16
(cherry picked from commit ecbe2c2855)
2022-08-22 20:14:54 +00:00
bwang 197921bdbe Add back fixed width to main content
Bug: T315653
Change-Id: Iffd3f219e756b82397264f62fb9f88fc82a92ba9
(cherry picked from commit 0be4664c02)
2022-08-19 13:37:17 +00:00
1 changed files with 8 additions and 2 deletions

View File

@ -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;
}
}