mirror of
https://github.com/samsonjs/media.git
synced 2026-04-07 11:35:46 +00:00
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:
parent
0b3a3e6aa8
commit
69f80d9be9
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue