From 2d596426f71cc6649d02f2dc7e25ea678b12326d Mon Sep 17 00:00:00 2001 From: Heikki Hokkanen Date: Thu, 24 Dec 2009 10:46:38 +0200 Subject: [PATCH] CSS: Vertical align 'top' for tags table. --- gitstats | 2 +- gitstats.css | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gitstats b/gitstats index 2012152..109ed7d 100755 --- a/gitstats +++ b/gitstats @@ -827,7 +827,7 @@ class HTMLReportCreator(ReportCreator): f.write('
Average commits per tag
%.2f
' % (1.0 * data.getTotalCommits() / len(data.tags))) f.write('') - f.write('') + f.write('
') f.write('') # sort the tags by date desc tags_sorted_by_date_desc = map(lambda el : el[1], reversed(sorted(map(lambda el : (el[1]['date'], el[0]), data.tags.items())))) diff --git a/gitstats.css b/gitstats.css index 9650409..10d9cbb 100644 --- a/gitstats.css +++ b/gitstats.css @@ -41,6 +41,10 @@ table.noborders td { clear: both; } +table.tags td { + vertical-align: top; +} + th { background-color: #ddf; } -- 2.11.4.GIT
NameDateCommitsAuthors