Merged in release/2022-03-25 (pull request #429)

release/2022-03-25

Approved-by: Patrick Fic
This commit is contained in:
Patrick Fic
2022-03-22 17:12:08 +00:00

View File

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