Print: Add padding on pre elements
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Sat, 8 Jun 2019 20:04:10 +0000 (22:04 +0200)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Sat, 8 Jun 2019 20:04:10 +0000 (22:04 +0200)
This is inline with their non-print styling and avoids the border and
the glyph being so close that it affects readability.

Bug: T225188
Change-Id: I0dcf09742483e28535d1d48641ccfba359e9f377

resources/src/mediawiki.legacy/commonPrint.css

index e58e677..4671a38 100644 (file)
@@ -124,7 +124,7 @@ pre,
        background: #fff;
        color: #000;
        border: 1pt dashed #000;
-       padding: 1em 0;
+       padding: 1em;
        font-size: 8pt;
        white-space: pre-wrap;
        word-wrap: break-word;