I'm using the awesome wicked_pdf gem to generate a PDF, but I can't figure out how to change certain styles within the footer.
I'm having a HAML template for the footer looking roughly like this:
!!!
%html
%head
%meta{:charset => "utf-8"}
= wicked_pdf_stylesheet_link_tag "pdf"
%body
.footer
%p Line 1
%p Line 2
%p Line 3
And some styles:
.footer {
padding-top: 1em;
border-top: 1px solid #ccc;
}
The styles are applied just fine, but the due to a small height of the footer, only the first line is visible. I've tried to set the height via CSS, but no dice so far. If I set a footer using e.g the center
, attributes
or right
supplying text directly, line breaks cause the footer to "grow" as expected.
Any idea on how to modify the footer height?