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. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 77cfe984-2c65-4152-bb7a-0df28274fe66 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: a36bb9eb-e52a-45dc-96a0-05e8a101630b Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/c3c252e4-c83d-40ca-9fff-99a3ea60701e/77cfe984-2c65-4152-bb7a-0df28274fe66/UggHvbd Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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++) {
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
Reference in New Issue
Block a user