+ 2

Line-height issue in DOM PDF

I'm writing an html file transfering to PDF by DOM PDF. There is a span with display: inline-block; and a line break. A distance between the first and the second lines is too big, though there is no height set for an element. No matter which line-height I use - a distance stays the same. How to solve a problem?

20th Apr 2021, 9:34 AM
Sona Sarkisian
Sona Sarkisian - avatar
1 Antwort
+ 2
try using very align to your style so that the placement by dom pdf would be much closer to what you see in your browser
4th May 2021, 6:01 PM
~ Abedollah ~
~ Abedollah ~ - avatar