- Issue created by @ivanpg94
I solved the problem by deleting the CSS stylesheet and writing the styles only inline.
Hi i update my project to drupal 9.5.
Before to update i had to many problems with the commerce invoice styles.
I try to add in my custom theme library.yml
invoice-print-styling:
version: VERSION
css:
theme:
assets/css/commerce/commerce_invoice.entityprint.css: {}
assets/css/color.css: {}
But didnt works. FInally, i try to change the css directly in the module and thats works so i did a patch and everythig was ok.
The problem is when i update drupal core to 9.5 after of that the styles doesnt work again i check the patch and is aply. Also i try to write the css in the custom theme template but also doesnt work. i try to write in the module template same. Im using entity print and dompdf.
I use dompdf in others custom modules and works fine.
Also when i do a modification in the module and i try to download the invoice i get a page not found and i its not wornking until i reset the pattern and this happen after update core.
Maybe someone have an idea of how to solved.
Thanks in advance.
Active
2.0
Code
I solved the problem by deleting the CSS stylesheet and writing the styles only inline.