diff --git a/src/components/forms/custom-form-builder.tsx b/src/components/forms/custom-form-builder.tsx index b787507..72674f8 100644 --- a/src/components/forms/custom-form-builder.tsx +++ b/src/components/forms/custom-form-builder.tsx @@ -874,7 +874,7 @@ export function CustomFormBuilder() { properties: { page: { size: { width: 12240, height: 15840 }, - margin: { top: 1440, right: 1440, bottom: 1440, left: 1440 }, + margin: (() => { const m = Math.round(marginInches * 1440); return { top: m, right: m, bottom: m, left: m }; })(), }, }, children,