CSS in headerHtml not working #442
Replies: 4 comments 12 replies
-
Got the same issue and still no solution. If you paste raw css to your header-blade-stuff, this will render as expected. But:
|
Beta Was this translation helpful? Give feedback.
-
Why got this moved to discussions? In my option it's a bug and no question to the community? |
Beta Was this translation helpful? Give feedback.
-
Anyone been able to find a fix for this issue? Also experiencing this :/ |
Beta Was this translation helpful? Give feedback.
-
You need to merge the CSS content inside the header and footer content using a style tag. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to set a custom header and footer in my PDF generation, but the TailwindCSS classes don't get applied.
Code used to generate the pdf:
My header html file:
It adds the text "Title" and "Text", but very small and without the blue background:
When I try to add my stylesheet via a html->head->link tag, I't always times out.
And when adding my header html code to my pdf "body/content" view everything works fine.
How can I fix it? Have i missed something in the documentation?
Beta Was this translation helpful? Give feedback.
All reactions