Update header and footer margins.
This commit is contained in:
@@ -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",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user