Closed ChamkhiAnas closed 1 year ago
i found a quick solution for this problem
wrap every text with a span with position: relative; top: -/half of the size of the font/
This is not a solution for that actually. It's more a workaround. I'm facing it as well. I would reopen that because it's a very basic issue that this lib should prevent of
i found a quick solution for this problem
wrap every text with a span with position: relative; top: -/half of the size of the font/ This work for me
The text and the html elements move out when i preview or download the pdf
The HTML+CSS page before converting it to pdf :
The HTML+CSS page after converting it to pdf :
Any solution or tips ?
! ps : im using tailwind css