From 570dc0f78abf667e7ee3b17c6a2785b737b630a1 Mon Sep 17 00:00:00 2001 From: Hans Pinckaers Date: Sun, 23 Jul 2023 21:24:06 +0200 Subject: [PATCH] Fix line-height when sub/sup is present --- packages/web/styles/articleInnerStyling.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/web/styles/articleInnerStyling.css b/packages/web/styles/articleInnerStyling.css index e2ef4e586..461e59f3c 100644 --- a/packages/web/styles/articleInnerStyling.css +++ b/packages/web/styles/articleInnerStyling.css @@ -262,6 +262,10 @@ on smaller screens we display the note icon .article-inner-css sup, .article-inner-css sub { + font-size: 75%; + line-height: 0; + position: relative; + vertical-align: baseline; a { color: inherit; pointer-events: none; @@ -269,7 +273,7 @@ on smaller screens we display the note icon } .article-inner-css sup { - top: -0.3em; + top: -0.75em; } .article-inner-css sub {