Tweaks to Parsoid CSS styles for citations.
authorSubramanya Sastry <ssastry@wikimedia.org>
Sat, 28 Jun 2014 05:06:12 +0000 (00:06 -0500)
committerSubramanya Sastry <ssastry@wikimedia.org>
Sat, 28 Jun 2014 05:06:12 +0000 (00:06 -0500)
* This brings Parsoid rendering quite close to PHP rendered output.

Change-Id: I22e1fad26e917a84a24193c53bf9522b383b849d

resources/src/mediawiki.skinning/content.parsoid.less

index 775b249..ebd6b92 100644 (file)
  */
 span.reference {
        font-size: smaller;
-       line-height: normal;
+       line-height: 1;
        vertical-align: super;
 }
 
+sup, sub {
+       line-height: 1;
+}
+
 /**
  * Block media items
  */