Set line height to 1 for sup and sub elements in print
authorjdlrobson <jdlrobson@gmail.com>
Wed, 23 Aug 2017 15:59:44 +0000 (10:59 -0500)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 23 Aug 2017 16:42:09 +0000 (16:42 +0000)
It is already set in screen styles (shared.css).

Bug: T172501
Change-Id: I5a90e21f6eac300c57b6daddada0ae94fe579294

resources/src/mediawiki.legacy/commonPrint.css

index 3cd0807..8ff0634 100644 (file)
@@ -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;
 }