From 54f9cd69af643a5f2b4c04e3022629e32d27497a Mon Sep 17 00:00:00 2001 From: christopherlam Date: Tue, 1 Aug 2017 17:17:32 +0800 Subject: [PATCH] Add vertical-align:top to default text fields. Add vertical-align top. Previously, text fields would have vertical-align:default = centre. This means long transaction descriptions would cause all other fields to be vertically centred. This amendment will ensure the transactional report text are aligned from the top. --- src/report/report-system/html-fonts.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/report/report-system/html-fonts.scm b/src/report/report-system/html-fonts.scm index 3ee4ccf1b7..c769f94452 100644 --- a/src/report/report-system/html-fonts.scm +++ b/src/report/report-system/html-fonts.scm @@ -157,7 +157,7 @@ (string-append "h3 { " title-font-info " }\n" "a { " account-link-font-info " }\n" - "body, p, table, tr, td { text-align: left; " text-cell-font-info " }\n" + "body, p, table, tr, td { text-align: left; vertical-align: top; " text-cell-font-info " }\n" "tr.alternate-row { background: " alternate-row-color " }\n" "th.column-heading-left { text-align: left; " number-header-font-info " }\n" "th.column-heading-center { text-align: center; " number-header-font-info " }\n"