Replies: 2 comments 1 reply
-
Same problem, with header/footer and tailwind (vite) |
Beta Was this translation helpful? Give feedback.
0 replies
-
@laltu-das and @vadimwe Spatie PDF package is a friendly proxy of Spatie Browsershot package, it uses Puppeteer to generate PDF, the way puppeteer handles headers and footers is different than it works for html body. My recomendation is to use custom css in headers and footers, if you already have tailwindcss styles you can transform it to custom css using an online converter. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What happened?
tailwind css not working in header footer , but when i use custom css its work fine, but i want to use tailwind css
How to reproduce the bug
Controller
Invoice
PDF Footer
PDF Header
Package Version
1.4
PHP Version
8.1
Laravel Version
10.10
Which operating systems does with happen with?
Linux
Notes
No response
Beta Was this translation helpful? Give feedback.
All reactions