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 提交者 Jason A. Donenfeld
父節點 1dd53e3a2f
當前提交 6b5b655f6d
共有 2 個檔案被更改,包括 2 行新增1 行删除

查看文件

@ -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;

查看文件

@ -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");