From 8473cc281094fcce93b136410dc5cb14048a1f36 Mon Sep 17 00:00:00 2001 From: "gpt-engineer-app[bot]" <159125892+gpt-engineer-app[bot]@users.noreply.github.com> Date: Sat, 18 Apr 2026 03:03:14 +0000 Subject: [PATCH] Changes Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com> --- src/components/forms/custom-form-builder.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/forms/custom-form-builder.tsx b/src/components/forms/custom-form-builder.tsx index 7342044..b787507 100644 --- a/src/components/forms/custom-form-builder.tsx +++ b/src/components/forms/custom-form-builder.tsx @@ -533,11 +533,11 @@ export function CustomFormBuilder() { const ctx = await getContext(); const segments = getRenderedSegments(); const doc = new jsPDF({ unit: "pt", format: "letter" }); - const margin = 54; + const margin = Math.round(marginInches * 72); const pageW = doc.internal.pageSize.getWidth(); const pageH = doc.internal.pageSize.getHeight(); const maxW = pageW - margin * 2; - let y = 80; + let y = margin + 26; const fontDef = FONT_FAMILIES.find((f) => f.value === fontFamily); const pdfFont = fontDef?.pdf ?? "times";