I had a previously working PDF using tailwind css along with a custom theme.css file that I include in my blade template. I recently upgraded to puppeteer v22.14.0 and had the associated issues with that. I resolved it by upgrading browsershot to 4.2.1 and now my PDF is generated. However, it seems my custom theme css is not being included anymore.
How to reproduce the bug
Here is my file in components/layouts/pdf.blade.php:
generates the PDF, and appears to contain at least some tailwind styling, but nothing from my custom theme seems to be included particularly custom table styles.
Package Version
1.5.2
PHP Version
8.1
Laravel Version
10.48.20
Which operating systems does with happen with?
Linux
Notes
This is a filament app. Running locally on WSL2, ubuntu v22.04.
What happened?
I had a previously working PDF using tailwind css along with a custom theme.css file that I include in my blade template. I recently upgraded to puppeteer v22.14.0 and had the associated issues with that. I resolved it by upgrading browsershot to 4.2.1 and now my PDF is generated. However, it seems my custom theme css is not being included anymore.
How to reproduce the bug
Here is my file in components/layouts/pdf.blade.php:
Running:
generates the PDF, and appears to contain at least some tailwind styling, but nothing from my custom theme seems to be included particularly custom table styles.
Package Version
1.5.2
PHP Version
8.1
Laravel Version
10.48.20
Which operating systems does with happen with?
Linux
Notes
This is a filament app. Running locally on WSL2, ubuntu v22.04.