diff --git a/cgit.css b/cgit.css index 87fd00a..5cf8d15 100644 --- a/cgit.css +++ b/cgit.css @@ -236,9 +236,13 @@ div.commit-msg { font-family: monospace; } +div.diffstat-header { + font-weight: bold; + padding-top: 1.5em; +} + table.diffstat { border-collapse: collapse; - margin-top: 1.5em; width: 100%; border: solid 1px #aaa; background-color: #eee; diff --git a/ui-commit.c b/ui-commit.c index 93eb8fd..ff1fad3 100644 --- a/ui-commit.c +++ b/ui-commit.c @@ -221,6 +221,7 @@ void cgit_print_commit(const char *hex) html_txt(info->msg); html(""); if (!(commit->parents && commit->parents->next && commit->parents->next->next)) { + html("