From bb978c0574d68d067e355b26a1fe8c5e8163201b Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Mon, 18 Dec 2017 14:15:29 +0100 Subject: [PATCH 1/2] Prevent footnote and citation references changing line spacing --- sass/_theme_rst.sass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index e3b374ed..03689f8f 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -161,7 +161,9 @@ // These are the little citation links [1] that show up within paragraphs. .footnote-reference, .citation-reference - vertical-align: super + vertical-align: baseline + position: relative + top: -0.4em font-size: 90% // Tables! Sphinx LOVES TABLES. Most of wyrm assumes you're only going to use a table as a table From 8355c2162fbb4bf0b216f15afdb9484bd791c649 Mon Sep 17 00:00:00 2001 From: Jesse Tan Date: Mon, 18 Dec 2017 14:24:14 +0100 Subject: [PATCH 2/2] Do not interefere with line-height --- sass/_theme_rst.sass | 1 + 1 file changed, 1 insertion(+) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index 03689f8f..a2035c51 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -164,6 +164,7 @@ vertical-align: baseline position: relative top: -0.4em + line-height: 0 font-size: 90% // Tables! Sphinx LOVES TABLES. Most of wyrm assumes you're only going to use a table as a table