Commit 69f80d9b by Denise LaFayette

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
parent 0b3a3e6a
......@@ -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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment