Merge "Set position and z-index for mw-page-container"

This commit is contained in:
jenkins-bot 2022-03-16 16:21:20 +00:00 committed by Gerrit Code Review
commit 4bb95af10c
1 changed files with 5 additions and 0 deletions

View File

@ -190,6 +190,11 @@ body {
// Container logic.
.mw-page-container {
// Setting position and z-index is important as it allows overlays appended to the body tag
// to position themselves over the Vector interface. This forms another stacking context for
// elements placed inside this element
position: relative;
z-index: 0;
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).