Skip to content

Commit 4c4fb9c

Browse files
committed
fixed compute
1 parent 6014123 commit 4c4fb9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

satdigitalinvoice/gui_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def generate_pdf_template(template_name, fields, target=None, css_string=None):
444444
stylesheets=[
445445
os.path.join(SOURCE_DIRECTORY, "markdown_styles", "markdown6.css"),
446446
CSS(
447-
string=css_string
447+
string=css_string or '@page { width: Letter; margin: 1.6cm 1.6cm 1.6cm 1.6cm; }'
448448
),
449449
CSS(
450450
string=hash_mark

0 commit comments

Comments
 (0)