Follow-up I24090527: Add .mw-parser-output scope to limit to parsed output

This scope is used elsewhere in the skin to limit styles
to parsed output. Confusingly `.content` also applies to
the body area of special/action pages.

Bug: T304148
Change-Id: Id5aa760c8441e589e813c5cc0c12c86469cde714
This commit is contained in:
Ed Sanders 2022-05-18 14:24:16 +01:00
parent 4519cd68f6
commit 816aac97bc

View file

@ -33,14 +33,6 @@
}
}
/* stylelint-enable no-descending-specificity */
dl dd {
display: block;
// Some dd's may contain images so these need to be scrollable
// Text will not become scrollable.
// (see T160946)
overflow: auto;
}
}
/* As in Vector, indenting of definition lists, and bolding of defintion terms is generically useful */
@ -51,3 +43,13 @@ dl {
font-weight: bold;
}
}
.mw-parser-output {
dl dd {
display: block;
// Some dd's may contain images so these need to be scrollable
// Text will not become scrollable.
// (see T160946)
overflow: auto;
}
}