summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Smith <whydoubt@gmail.com>2017-10-17 23:17:32 -0500
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-24 16:28:08 +0200
commit730dece8a06190b6fc395c4dc5166992a732e53a (patch)
treecbdd7532062b766f89726a16038be04878a56864
parent67d0f870506e3bc3703ae3cb2cb00e19691ce967 (diff)
downloadcgit-730dece8a06190b6fc395c4dc5166992a732e53a.tar.gz
ui-blame: Distinguish hashes column from lines column
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
-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 62cf431..a5ac590 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");