Revert "Increase gap between items: drop 2×lh before separator line"

This reverts commit 69d1c35883.
This commit is contained in:
Claude 2026-05-24 19:04:35 +00:00
parent 69d1c35883
commit ea8f2ed542
No known key found for this signature in database

View file

@ -954,9 +954,9 @@ async function generatePDF() {
// Items
state.items.forEach((item, itemIdx) => {
// Item header
needSpace(lh * 8); // need room for separator gap + header + one line
needSpace(lh * 7); // need room for separator gap + header + one line
if (itemIdx > 0) {
y -= lh * 2; // full gap below previous item's stripe before separator
y -= lh; // create gap below previous item before drawing separator
pg.drawLine({start:{x:M.left, y:y+lh}, end:{x:M.left+W, y:y+lh}, thickness:0.75, color:accent});
}
pg.drawText('ITEM / PROJECT / TRAVEL', {x:M.left, y, size:sz, font:fontBold, color:accent});