Print: pre-wrap <pre> elements
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Fri, 2 Feb 2018 14:24:26 +0000 (15:24 +0100)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Fri, 2 Feb 2018 14:31:00 +0000 (15:31 +0100)
This seems to have been overlooked when T103780 was fixed during 1.26

Bug: T185129
Change-Id: I6f0068d66a5641c4f5092d5a2d0356c061fd2763

resources/src/mediawiki.legacy/commonPrint.css

index 58e00f9..df5aa0f 100644 (file)
@@ -126,9 +126,8 @@ pre,
        border: 1pt dashed #000;
        padding: 1em 0;
        font-size: 8pt;
-       white-space: pre;
+       white-space: pre-wrap;
        word-wrap: break-word;
-       overflow: auto;
 }
 
 /* Prevent citations and subscripts from interfering with the line-height */