i Want to make header fit the content in the pdf the default header leave a large white space ,
i have customize print format , i’am using the default header but it leave a large white space in pdf ,
any help how to make it fit the content only
i add this margin-top:auto
<div id="header-html" class="visible-pdf>
<div>
<img align="left" src="/files/Logo.png" style="width: 20%; margin-top:auto">
</div>
<div>
<h3 align="right" style="margin-top:auto"><br>Sales Invoice<br><small>{{ doc.name }}</small>
</h3>
</div>
1 Like