PDF does not reflect the changes in the Compact styles CSS
Changes made to the Compact styles PDF do not reflect on the generated PDF.
Steps to Reproduce
- Update pyCompactStylesforPDF CSS to include the below code,
font-family: OpenSans, sans-serif;
border: 5px solid #6094BA;
- Generate the PDF using pyAttachAsPDF which invokes the HTMLToPDF. Verify the generated PDF.
A third-party product issue.
The PD4ML does not consider the very first CSS entry and instead picks the second CSS entry onwards.
Perform the following local-change:
Add a dummy Selector or Tag as first tag on the pyCompactStylesforPDF.css.
0% found this useful