Revert "fix(pdf): removal of header and footer margins"
This commit is contained in:
parent
662781ab73
commit
c7ac52a71e
1 changed files with 0 additions and 6 deletions
|
|
@ -369,12 +369,6 @@ def prepare_header_footer(soup: BeautifulSoup):
|
|||
|
||||
# {"header-html": "/tmp/frappe-pdf-random.html"}
|
||||
options[html_id] = fname
|
||||
|
||||
if html_id == "header-html":
|
||||
options["margin-top"] = "25mm"
|
||||
elif html_id == "footer-html":
|
||||
options["margin-bottom"] = "25mm"
|
||||
|
||||
else:
|
||||
if html_id == "header-html":
|
||||
options["margin-top"] = "15mm"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue