commit 855311a40a1b28ffaca0e5689067ac9990665195
parent 5e52633a661163c10885729134c7c8b9a56fb92c
Author: Andrej Kacian <ticho@claws-mail.org>
Date: Tue, 12 Feb 2019 00:54:07 +0100
Make Litehtml display sub- and superscript correctly
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/plugins/litehtml_viewer/css.inc b/src/plugins/litehtml_viewer/css.inc
@@ -323,4 +323,10 @@ input[type=\"hidden\"] { \
article, aside, footer, header, hgroup, nav, section \
{ \
display: block; \
-}"
+} \
+\
+small, sub, sup { font-size: 80%; } \
+sub, sup { position: relative; } \
+sub { top: +0.5em; } \
+sup { top: -0.5em; } \
+"