From 6fbbb8031267976d62bb17cfce4985d91cedd39d Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Wed, 23 Aug 2017 10:59:44 -0500 Subject: [PATCH] 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 --- resources/src/mediawiki.legacy/commonPrint.css | 6 ++++++ 1 file changed, 6 insertions(+) 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; } -- 2.20.1