jsPDF icon indicating copy to clipboard operation
jsPDF copied to clipboard

Text doesn't fit in the right box with html()

Open ubbcou opened this issue 3 years ago • 1 comments

PDF content generated using HTML is highly biased. The text as a whole is offset downward, causing the color block to be offset from the text. How can I solve this problem?

Example Code

Expectation: Text and background colors should not be offset

ubbcou avatar Jul 23 '22 10:07 ubbcou

try not padding into leading above e.g.

current image

proposed padding: 0px 4px 6px 4px; image

GitHubRulesOK avatar Jul 28 '22 23:07 GitHubRulesOK

This issue is stale because it has been open 90 days with no activity. It will be closed soon. Please comment/reopen if this issue is still relevant.

github-actions[bot] avatar Oct 27 '22 02:10 github-actions[bot]