about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2017-10-17 23:17:32 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2018-01-19 11:40:49 +0100
commit6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9 (patch)
treea8a85adbb2a98941634f89dc37cb8f026a9b5823
parentgit: update to v2.16.0 (diff)
downloadcgit-pink-6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9.tar.gz
cgit-pink-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>
Diffstat (limited to '')
-rw-r--r--cgit.css1
-rw-r--r--ui-blame.c2
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 {
 	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;
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,
 
 	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");