Item rows in the generated invoice PDF felt too spaced out. This tightens the line height of the items (položky) table by roughly 10%.
Approach
In renderInvoicePdf (app/src/app.js), the table header and item rows previously shared a single 25pt rowHeight. This split it into headerRowHeight (unchanged, 25pt) and itemRowHeight (22.5pt, a ~10% reduction), used for the item row background fill, the bottom divider line, and the row cursor advance. Cell text vertical offset within each item row was adjusted from 8pt to 6pt so it stays centered in the shorter row.
Notes
Only item rows are affected; the header row height and styling are untouched.
Verified with npm test (2/2 passing) and a Node syntax check.
## Why
Item rows in the generated invoice PDF felt too spaced out. This tightens the line height of the items (položky) table by roughly 10%.
## Approach
In `renderInvoicePdf` (`app/src/app.js`), the table header and item rows previously shared a single 25pt `rowHeight`. This split it into `headerRowHeight` (unchanged, 25pt) and `itemRowHeight` (22.5pt, a ~10% reduction), used for the item row background fill, the bottom divider line, and the row cursor advance. Cell text vertical offset within each item row was adjusted from 8pt to 6pt so it stays centered in the shorter row.
## Notes
- Only item rows are affected; the header row height and styling are untouched.
- Verified with `npm test` (2/2 passing) and a Node syntax check.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Why
Item rows in the generated invoice PDF felt too spaced out. This tightens the line height of the items (položky) table by roughly 10%.
Approach
In
renderInvoicePdf(app/src/app.js), the table header and item rows previously shared a single 25ptrowHeight. This split it intoheaderRowHeight(unchanged, 25pt) anditemRowHeight(22.5pt, a ~10% reduction), used for the item row background fill, the bottom divider line, and the row cursor advance. Cell text vertical offset within each item row was adjusted from 8pt to 6pt so it stays centered in the shorter row.Notes
npm test(2/2 passing) and a Node syntax check.