Merge "Max-width layout: Make page container fill viewport if content height is small"

This commit is contained in:
jenkins-bot 2020-07-15 05:15:23 +00:00 committed by Gerrit Code Review
commit 3651b41cb0
1 changed files with 3 additions and 0 deletions

View File

@ -107,6 +107,9 @@
.mw-page-container {
min-width: @min-width-page-container;
max-width: @max-width-page-container;
// Fill the viewport even if the content height is small. This also helps
// mitigate a long sidebar overflowing the page container (T257518).
min-height: 100%;
margin-left: auto;
margin-right: auto;
padding: 0 @padding-horizontal-page-container;