From 1655427b4c21fc0893b209814e01b33098cb2430 Mon Sep 17 00:00:00 2001 From: Thomas Hackner Date: Sat, 4 Jul 2026 12:50:50 +0200 Subject: [PATCH] Drop the underline rules under the CV sidebar headings The sidebar section labels no longer carry a short accent underline; tracking and weight provide the structure, keeping the left column clean. Co-Authored-By: Claude Opus 4.8 --- lib/documents.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/documents.js b/lib/documents.js index 7f2c62c..0be04ad 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -689,9 +689,8 @@ function buildContactLines(header) { return lines; } -// Sidebar section label: a compact tracked uppercase accent word underlined by -// a short accent segment — the same structural motif as the main column, sized -// down for the narrow column. +// Sidebar section label: a compact tracked uppercase accent word. No underline +// rule — the sidebar stays clean; tracking and weight carry the structure. function sbHeading(doc, S, dry, cur, title) { const pt = 9; const cs = 1.0 * S; @@ -699,15 +698,11 @@ function sbHeading(doc, S, dry, cur, title) { doc.setFont('Lato', 'bold'); doc.setFontSize(pt * S); const label = String(title).toUpperCase(); - const lineY = cur.y + pt * S * PT * 1.24; if (!dry) { doc.setCharSpace(cs); doc.setTextColor(RC.accent[0], RC.accent[1], RC.accent[2]); doc.text(label, SB_X, cur.y + pt * S * PT * 0.76); doc.setCharSpace(0); - doc.setDrawColor(RC.accent[0], RC.accent[1], RC.accent[2]); - doc.setLineWidth(0.9 * S); - doc.line(SB_X, lineY, SB_X + 9, lineY); } cur.y += pt * S * PT + 4.6 * S; }