wicked_pdf
wicked_pdf copied to clipboard
Content is getting cropped in PDF
Issue description
while generating pdf my content is not breaking down for a page. It's getting cropped.
def general_ledger_pdf @categories = Category.journal_categories(params[:accounting_business_id], @daterange) render pdf: "#{file_name('General ledger')}", template: "accounting/general_ledger_pdf.html.erb", orientation: 'Landscape', margin: { bottom: 25, top: 20 }, :footer => { :html => { :template => "accounting/accounting_footer.html.erb"}} end
this is my method who's calling pdf view page
<meta charset="utf-8" />