CSS: Vertical align 'top' for tags table.
This commit is contained in:
parent
0f2064ca2a
commit
2d596426f7
2
gitstats
2
gitstats
@ -827,7 +827,7 @@ class HTMLReportCreator(ReportCreator):
|
||||
f.write('<dt>Average commits per tag</dt><dd>%.2f</dd>' % (1.0 * data.getTotalCommits() / len(data.tags)))
|
||||
f.write('</dl>')
|
||||
|
||||
f.write('<table>')
|
||||
f.write('<table class="tags">')
|
||||
f.write('<tr><th>Name</th><th>Date</th><th>Commits</th><th>Authors</th></tr>')
|
||||
# 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()))))
|
||||
|
@ -41,6 +41,10 @@ table.noborders td {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
table.tags td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
th {
|
||||
background-color: #ddf;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user