commit cd43a4956b861ad55e6fba21a264b795e8ee6584
parent 3d209145f3b91fec635b5d956d56a79ab8059f90
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; } \
+"