PDF Output: Fix footer sometimes appearing as header when no header is specified

This commit is contained in:
Kovid Goyal 2019-09-27 10:42:53 +05:30
parent 77a0a77723
commit 990dce338d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -980,7 +980,7 @@ def add_header_footer(manager, opts, pdf_doc, container, page_number_display_map
'page-break-after': 'always',
'display': 'flex',
'flex-direction': 'column',
'height': '100%',
'height': '100vh',
'justify-content': justify,
'margin-left': '{}pt'.format(margins.left),
'margin-right': '{}pt'.format(margins.right),