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
vanhempi 1dd53e3a2f
commit 6b5b655f6d
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa

Näytä tiedosto

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

Näytä tiedosto

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