When you have a table and the records do not fit on a single page, on the new page wicked_pdf repeats the first line by disrupting the second page reading. How do I not display this first line? (Curriculum Components - Module 1).
You need to change the display property of the thead tag. Add the code below into the css file that is specific to rendering the pdf, for example: app / assets / stylesheets / pdf.css
thead {
display: table-row;
}
Remembering that this file needs to be included in the pdf template through the
<%= wicked_pdf_stylesheet_link_tag 'pdf' -%>