react-to-pdf
react-to-pdf copied to clipboard
Pdf not rendering as my webpage (Using TailwindCSS)
Hello, i wanted to use your beautifull library to convert my react components to pdf but with TailwindCSS i encoutered an "bug".
In fact, there is a form in my app :
And when i click on "Generate PDF in the top left" with this config :
const options: Options = { filename: "using-function.pdf", resolution: Resolution.HIGH, method: "open", page: { margin: Margin.SMALL, format: "letter", }, };
My pdf i looking like this
Any people already encoutered this "bug" ?
I tried to set preflight in my tailwind.config at false and it worked properly but couldnt use Tailwind in my project