enter image description here
Actually I converting html to PDF using Node JS. PDF also successfully generated but when PDF comes multiple pages not properly showing. I try to add header and table on all pages but it’s overlapping. how to fix this Issue. I tried lot of solution but it’s not working.
I applied this css
`
@media print {
thead {
display: table-header-group;
}
tr.page-break {
page-break-before: always;
}
}
.header-section-0 {
display: grid;
position: fixed;
top: 34px;
left: 76px;
right: 79px;
height: 50px;
z-index: 1000;
}`
New contributor