fix: Year Level nudge reduced to 6pt (half)
This commit is contained in:
@@ -185,8 +185,8 @@
|
||||
if (header.program) page.drawText(compactProgram(header.program), { x: 338, y, size: 9, font, color: black });
|
||||
if (yearLevelText) {
|
||||
const w = font.widthOfTextAtSize(yearLevelText, 9);
|
||||
// Right-aligned to the content edge, nudged left ~12pt (~1rem).
|
||||
page.drawText(yearLevelText, { x: margin + contentWidth - w - 12, y, size: 9, font, color: black });
|
||||
// Right-aligned to the content edge, nudged left ~6pt (half of 1rem).
|
||||
page.drawText(yearLevelText, { x: margin + contentWidth - w - 6, y, size: 9, font, color: black });
|
||||
}
|
||||
if (header.studentId || header.fullName || header.program || yearLevelText) y -= 14.5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user