ui-blame: Distinguish hashes column from lines column

Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
Jeff Smith 2017-10-17 23:17:32 -05:00 committed by Jason A. Donenfeld
parent 1dd53e3a2f
commit 6b5b655f6d
2 changed files with 2 additions and 1 deletions

View File

@ -300,6 +300,7 @@ div#cgit table.blob {
border-top: solid 1px black;
}
div#cgit table.blob td.hashes,
div#cgit table.blob td.lines {
margin: 0; padding: 0 0 0 0.5em;
vertical-align: top;

View File

@ -51,7 +51,7 @@ static void emit_blame_entry(struct blame_scoreboard *sb,
char *detail = emit_suspect_detail(suspect);
html("<tr><td class='sha1 lines'>");
html("<tr><td class='sha1 hashes'>");
cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail,
NULL, ctx.qry.head, oid_to_hex(oid), suspect->path);
html("</td>\n");