From bdbae42b3ed3bbfd5dcf3655a25a1600b3ac7c83 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Tue, 16 Jul 2013 17:14:58 +0100 Subject: [PATCH] Fake superscript style for references generated as spans This is a hack because Parsoid should just generate s. Bug: 50978 Change-Id: I0c418b4f70640b8212d4a58a6f33a0821f7338c4 --- modules/ve-mw/ce/styles/ve.ce.Node.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ve-mw/ce/styles/ve.ce.Node.css b/modules/ve-mw/ce/styles/ve.ce.Node.css index 2bd261d068..df7d9345b3 100644 --- a/modules/ve-mw/ce/styles/ve.ce.Node.css +++ b/modules/ve-mw/ce/styles/ve.ce.Node.css @@ -19,6 +19,12 @@ display: none; } +/* HACK: Fake superscript style for references generated as spans in templates */ +.ve-ce-mwTransclusionNode span.reference { + vertical-align: super; + font-size: smaller; +} + /* ve.ce.MWReferenceListNode */ .ve-ce-mwReferenceListNode .ve-ce-generated-wrapper {