niklasvh / html2canvas

Screenshots with JavaScript
https://html2canvas.hertzen.com/
MIT License
30.48k stars 4.8k forks source link

Image downloaded is different than in the browser #3074

Open lihang-develop opened 1 year ago

lihang-develop commented 1 year ago
image image

Please note that the difference in image length is irrelevant. What I mean is that some text is slightly offset. Is this related to certain CSS? Please tell me how to modify the CSS to resolve this issue.

qq15725 commented 1 year ago

Try modern-screenshot instead