From: Erwin Dokter Date: Sun, 18 May 2014 15:22:06 +0000 (+0000) Subject: Apply correct line-height to diffs X-Git-Tag: 1.31.0-rc.0~15617^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=94358a65cd93105a2b7200eb18b76cbedafd1760 Apply correct line-height to diffs The typography refresh exposes a small shortcoming in the CSS used for diff display; there is no line-height applied, causing inconsistent display between skin (ie. too high in Vector). Adding line-height to the diffs corrects this. Bug: 64653 Change-Id: I59dfe3e887c68a7034ef78f6873127ffe88b0cc1 --- diff --git a/resources/src/mediawiki.action/mediawiki.action.history.diff.css b/resources/src/mediawiki.action/mediawiki.action.history.diff.css index 31ca10781c..afe9246842 100644 --- a/resources/src/mediawiki.action/mediawiki.action.history.diff.css +++ b/resources/src/mediawiki.action/mediawiki.action.history.diff.css @@ -46,12 +46,14 @@ td.diff-marker { text-align: right; font-weight: bold; font-size: 1.25em; + line-height: 1.2; } td.diff-addedline, td.diff-deletedline, td.diff-context { font-size: 88%; + line-height: 1.6; vertical-align: top; white-space: -moz-pre-wrap; white-space: pre-wrap;