Updated footer minimum.

This commit is contained in:
Patrick Fic
2022-04-22 10:37:33 -07:00
parent e659204e8f
commit c7389cc093

View File

@@ -47,9 +47,9 @@ export default async function RenderTemplate(
marginBottom: marginBottom:
bodyshop.logo_img_path && bodyshop.logo_img_path &&
bodyshop.logo_img_path.footerMargin && bodyshop.logo_img_path.footerMargin &&
bodyshop.logo_img_path.footerMargin > 36 bodyshop.logo_img_path.footerMargin > 50
? bodyshop.logo_img_path.footerMargin ? bodyshop.logo_img_path.footerMargin
: "36px", : "50px",
}, },
}), }),
}), }),
@@ -158,9 +158,9 @@ export async function RenderTemplates(
marginBottom: marginBottom:
bodyshop.logo_img_path && bodyshop.logo_img_path &&
bodyshop.logo_img_path.footerMargin && bodyshop.logo_img_path.footerMargin &&
bodyshop.logo_img_path.footerMargin > 36 bodyshop.logo_img_path.footerMargin > 50
? bodyshop.logo_img_path.footerMargin ? bodyshop.logo_img_path.footerMargin
: "36px", : "50px",
}, },
}), }),
pdfOperations: templateAndData.map((template) => { pdfOperations: templateAndData.map((template) => {