diff options
author | Jeff Smith | 2017-10-17 23:17:32 -0500 |
---|---|---|
committer | Jason A. Donenfeld | 2018-01-19 11:40:49 +0100 |
commit | 6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9 (patch) | |
tree | a8a85adbb2a98941634f89dc37cb8f026a9b5823 | |
parent | git: update to v2.16.0 (diff) | |
download | cgit-6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9.tar.gz cgit-6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9.zip |
ui-blame: Distinguish hashes column from lines column
Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
-rw-r--r-- | cgit.css | 1 | ||||
-rw-r--r-- | ui-blame.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css index 836f8ae..893ebeb 100644 --- a/cgit.css +++ b/cgit.css | |||
@@ -300,6 +300,7 @@ div#cgit table.blob { | |||
300 | border-top: solid 1px black; | 300 | border-top: solid 1px black; |
301 | } | 301 | } |
302 | 302 | ||
303 | div#cgit table.blob td.hashes, | ||
303 | div#cgit table.blob td.lines { | 304 | div#cgit table.blob td.lines { |
304 | margin: 0; padding: 0 0 0 0.5em; | 305 | margin: 0; padding: 0 0 0 0.5em; |
305 | vertical-align: top; | 306 | vertical-align: top; |
diff --git a/ui-blame.c b/ui-blame.c index d4a4534..62647a8 100644 --- a/ui-blame.c +++ b/ui-blame.c | |||
@@ -51,7 +51,7 @@ static void emit_blame_entry(struct blame_scoreboard *sb, | |||
51 | 51 | ||
52 | char *detail = emit_suspect_detail(suspect); | 52 | char *detail = emit_suspect_detail(suspect); |
53 | 53 | ||
54 | html("<tr><td class='sha1 lines'>"); | 54 | html("<tr><td class='sha1 hashes'>"); |
55 | cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail, | 55 | cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail, |
56 | NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); | 56 | NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); |
57 | html("</td>\n"); | 57 | html("</td>\n"); |