From fb7ac1a6d07bb479c0b8f6b29a6a0ac2346fa828 Mon Sep 17 00:00:00 2001 From: Glenn Fowler Date: Fri, 22 Dec 2023 17:07:23 -0500 Subject: [PATCH 1/2] Update invoice.scm Add spacing for long Invoice ID's (Displayed as "Reference" on the Invoice) --- gnucash/report/reports/standard/invoice.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/report/reports/standard/invoice.scm b/gnucash/report/reports/standard/invoice.scm index 04035a74fdc..4431069e724 100644 --- a/gnucash/report/reports/standard/invoice.scm +++ b/gnucash/report/reports/standard/invoice.scm @@ -564,7 +564,7 @@ for styling the invoice. Please see the exported report for the CSS class names. (begin (gnc:html-table-append-row! invoice-details-table (list - (G_ "Reference:") + (G_ "Reference: ") (gnc:make-html-div/markup "div-align-right" (multiline-to-html-text billing-id)))) From 6da48a2942882444c30c73c594a7c73577d0047e Mon Sep 17 00:00:00 2001 From: Glenn Fowler Date: Sat, 23 Dec 2023 15:50:59 -0500 Subject: [PATCH 2/2] Update invoice.scm Add spacing for long Invoice ID's w/ CSS (spacing w/ HTML in strings breaks translations) --- gnucash/report/reports/standard/invoice.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnucash/report/reports/standard/invoice.scm b/gnucash/report/reports/standard/invoice.scm index 4431069e724..e61f436667c 100644 --- a/gnucash/report/reports/standard/invoice.scm +++ b/gnucash/report/reports/standard/invoice.scm @@ -40,7 +40,7 @@ .entries-table > table { width: 100% } .company-table > table * { padding: 0px; } .client-table > table * { padding: 0px; } -.invoice-details-table > table * { padding: 0px; } +.invoice-details-table > table * { padding: 0px; text-indent: 0.2em; } @media print { .main-table > table { width: 100%; }} ") @@ -564,7 +564,7 @@ for styling the invoice. Please see the exported report for the CSS class names. (begin (gnc:html-table-append-row! invoice-details-table (list - (G_ "Reference: ") + (G_ "Reference:") (gnc:make-html-div/markup "div-align-right" (multiline-to-html-text billing-id))))