Open sonali9696 opened 1 year ago
I was able to display the cell background colour by enabling it in pdf options -
pdfOptions: '{"format": "A4", "margin": {"top": "10mm", "left": "10mm", "right": "10mm", "bottom": "10mm"}, "landscape": true, "printBackground": true}'
But I still need help displaying the tick mark in the PDF.
PDF now looks like this - AntmanPerformanceReport 7.pdf
A screenshot of sample HTML file and the converted pdf file using html-to-pdf-action is attached.
AntmanPerformanceReport.pdf
Code used in GHA:
Code used to add tick symbol in HTML which was later converted to pdf:
"<td style='text-align: center;background-color:#93C572;border-radius: 10px;font-family:Tahoma;font-size:14px;border-bottom: thin solid;border-color:#DEDEDE;border-width: 2px 10px;'>" + "✓" + "</td>";