gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Fri Nov 15 08:05:29 EST 2019
Updated via https://github.com/Gnucash/gnucash/commit/b35daaa7 (commit)
via https://github.com/Gnucash/gnucash/commit/e26f20ff (commit)
from https://github.com/Gnucash/gnucash/commit/58258b94 (commit)
commit b35daaa7aae35e75dab0e783dbd8272d3a732d52
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Nov 15 20:58:54 2019 +0800
[html-fonts] enforce border-color grey to td & th elements
Using class td.neg will cause border-color to be red on modern
browser. We need to add td and th selectors to enforce grey border.
diff --git a/gnucash/report/report-system/html-fonts.scm b/gnucash/report/report-system/html-fonts.scm
index eb30fe726..cb2bd80b8 100644
--- a/gnucash/report/report-system/html-fonts.scm
+++ b/gnucash/report/report-system/html-fonts.scm
@@ -143,6 +143,7 @@
"body, p, table, tr, td { vertical-align: top; " text-cell-font-info " }\n"
"tr.alternate-row { background: " alternate-row-color " }\n"
"tr { page-break-inside: avoid !important;}\n"
+ "td, th { border-color: grey }\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"
"th.column-heading-right { text-align: right; " number-header-font-info " }\n"
commit e26f20ffa92f25fd8e46661b05738c030bbc0810
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Fri Nov 15 20:55:16 2019 +0800
[html-document] add <!DOCTYPE html> to reports
diff --git a/gnucash/report/report-system/html-document.scm b/gnucash/report/report-system/html-document.scm
index 906ab30b8..baf0c6aec 100644
--- a/gnucash/report/report-system/html-document.scm
+++ b/gnucash/report/report-system/html-document.scm
@@ -141,6 +141,7 @@
;;./share/gnucash/scm/gnucash/report/taxinvoice.eguile.scm:<html>
;;./share/gnucash/scm/gnucash/report/balsheet-eg.eguile.scm:<html>
+ (push "<!DOCTYPE html>\n")
(push "<html dir='auto'>\n")
(push "<head>\n")
(push "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n")
Summary of changes:
gnucash/report/report-system/html-document.scm | 1 +
gnucash/report/report-system/html-fonts.scm | 1 +
2 files changed, 2 insertions(+)
More information about the gnucash-changes
mailing list