Make Litehtml display sub- and superscript correctly
authorAndrej Kacian <ticho@claws-mail.org>
Mon, 11 Feb 2019 23:54:07 +0000 (00:54 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 12 Feb 2019 18:38:10 +0000 (19:38 +0100)
src/plugins/litehtml_viewer/css.inc

index 3dc2ad7..1288982 100644 (file)
@@ -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; } \
+"