Move `main` normalization to explicit selector

Change-Id: I8904bd531e14ee0bfcd7c057637fbea89c75d446
This commit is contained in:
Volker E 2019-03-04 19:49:32 -08:00
parent 9067705cf8
commit 454eb6dcf4
1 changed files with 5 additions and 1 deletions

View File

@ -13,12 +13,16 @@ body {
background-color: @chromeColor;
}
main {
// Support IE 9-11: Apply correct `display` (normalized), see T207618.
display: block;
}
// FIXME: should we use .mw-body here instead?
#content {
// avoid margin collapsing (see T147956)
border-top: 1px solid transparent;
padding-bottom: 32px;
display: block; // T207618 - Define this <main> element for IE11 and under.
}
.overlay-enabled,