Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-18 18:43:33 +00:00
co-authored by renee-png
parent d1d7f207e8
commit 3abc27eea1
+4 -1
View File
@@ -202,7 +202,7 @@ export async function downloadPleadingPdf(input: PleadingInput, filename: string
const plaintiffLines = (input.plaintiffs || "").split("\n").filter((l) => l.trim());
const defendantLines = (input.defendants || "").split("\n").filter((l) => l.trim());
setFont(pdf, {});
setFont(pdf, { bold: true });
const captionLeft: string[] = [];
if (plaintiffLines.length) captionLeft.push(...plaintiffLines); else captionLeft.push(" ");
captionLeft.push("");
@@ -223,7 +223,10 @@ export async function downloadPleadingPdf(input: PleadingInput, filename: string
const captionEndY = ly;
pdf.setLineWidth(0.6);
// Vertical divider between caption columns
pdf.line(MARGIN + leftColW + 12, captionStartY - LINE_H + 4, MARGIN + leftColW + 12, captionEndY);
// Bottom border under the left caption cell
pdf.line(leftX, captionEndY + 2, MARGIN + leftColW + 12, captionEndY + 2);
void rightColW;
y = captionEndY + LINE_H;