Fix bottom-cropped text in WebView output

Use unitless numbers for WebView line-height values

See
https://developer.mozilla.org/en-US/docs/Web/CSS/line-height#prefer_unitless_numbers_for_line-height_values
This commit is contained in:
Denise LaFayette 2021-04-13 12:43:47 -07:00
parent 0b3a3e6aa8
commit 69f80d9be9

View file

@ -175,7 +175,7 @@ import java.util.Map;
+ "right:0;"
+ "color:%s;"
+ "font-size:%s;"
+ "line-height:%.2fem;"
+ "line-height:%.2f;"
+ "text-shadow:%s;"
+ "'>",
HtmlUtils.toCssRgba(style.foregroundColor),