Thicken table borders to improve PDF visibility

Adjust border thickness in `pdf-html-renderer.ts` and `pdf-renderer.ts` from 1px to 1.5px to ensure navy borders are clearly rendered in PDF outputs.
This commit is contained in:
Riyadh
2026-05-05 07:41:57 +00:00
parent 08329539d5
commit fdc9d804e9
2 changed files with 2 additions and 2 deletions
@@ -404,7 +404,7 @@ tbody td {
padding: 10px 12px;
vertical-align: top;
text-align: center;
border: 1px solid #0B1E3F;
border: 1.5px solid #0B1E3F;
font-size: ${fontSize}px;
line-height: 1.8;
word-wrap: break-word;
+1 -1
View File
@@ -978,7 +978,7 @@ async function renderSchedulePdf_LEGACY(input: RenderPdfInput): Promise<Buffer>
}
doc.save();
doc.lineWidth(0.5).strokeColor("#0B1E3F");
doc.lineWidth(1.5).strokeColor("#0B1E3F");
doc.rect(tableX, rowTop, tableWidth, rowHeight).stroke();
let bx = tableX;
for (let i = 0; i < cells.length - 1; i++) {