From: jdlrobson Date: Wed, 23 Aug 2017 15:59:44 +0000 (-0500) Subject: Set line height to 1 for sup and sub elements in print X-Git-Tag: 1.31.0-rc.0~2322^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/%24spUrl?a=commitdiff_plain;h=6fbbb8031267976d62bb17cfce4985d91cedd39d;p=lhc%2Fweb%2Fwiklou.git Set line height to 1 for sup and sub elements in print It is already set in screen styles (shared.css). Bug: T172501 Change-Id: I5a90e21f6eac300c57b6daddada0ae94fe579294 --- diff --git a/resources/src/mediawiki.legacy/commonPrint.css b/resources/src/mediawiki.legacy/commonPrint.css index 3cd08073c6..8ff0634207 100644 --- a/resources/src/mediawiki.legacy/commonPrint.css +++ b/resources/src/mediawiki.legacy/commonPrint.css @@ -131,6 +131,12 @@ pre, overflow: auto; } +/* Prevent citations and subscripts from interfering with the line-height */ +sup, +sub { + line-height: 1; +} + ul { list-style-type: square; }