Update header and footer margins.

This commit is contained in:
Patrick Fic
2022-03-22 11:11:47 -06:00
parent d6924c2292
commit 15c305317a

View File

@@ -37,11 +37,13 @@ export default async function RenderTemplate(
chrome: { chrome: {
marginTop: marginTop:
(bodyshop.logo_img_path && (bodyshop.logo_img_path &&
bodyshop.logo_img_path.headerMargin) || bodyshop.logo_img_path.headerMargin &&
bodyshop.logo_img_path.headerMargin > 36) ||
"36px", "36px",
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) ||
"36px", "36px",
}, },
}), }),
@@ -142,11 +144,13 @@ export async function RenderTemplates(
chrome: { chrome: {
marginTop: marginTop:
(bodyshop.logo_img_path && (bodyshop.logo_img_path &&
bodyshop.logo_img_path.headerMargin) || bodyshop.logo_img_path.headerMargin &&
bodyshop.logo_img_path.headerMargin > 36) ||
"36px", "36px",
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) ||
"36px", "36px",
}, },
}), }),