react-print-pdf icon indicating copy to clipboard operation
react-print-pdf copied to clipboard

Properties like justify-content and gap are not working

Open mainak9163 opened this issue 1 year ago • 0 comments

I have tried to make a CV template . You can see the code using this github gist: https://gist.github.com/career-tokens/990b71d0d4a74e0795de5e3fc888b7a9

Here you will find that I have used justify-evenly and gap in some places . I have also checked that they are working fine when I am simply rendering it as a page instead of pdf.

But when I am trying to see the pdf version of it using react-print-pdf , they are not working . (Font too seems to be an issue but I have addressed it in another issue)

image

In the above image you can see the difference , left is the pdf and right is the normal rendering .

This issue if solved can improve developer experience since otherwise you need to address it by using margins.

mainak9163 avatar Feb 14 '24 18:02 mainak9163