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