]> git.cameronkatri.com Git - cgit.git/commitdiff
ui-blame: Distinguish hashes column from lines column
authorJeff Smith <whydoubt@gmail.com>
Wed, 18 Oct 2017 04:17:32 +0000 (23:17 -0500)
committerJason A. Donenfeld <Jason@zx2c4.com>
Fri, 19 Jan 2018 10:40:49 +0000 (11:40 +0100)
Signed-off-by: Jeff Smith <whydoubt@gmail.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
cgit.css
ui-blame.c

index 836f8ae19fe405ca1d23f87fa4963a91db2b0f79..893ebeb4038bc5d64d918a21930b950ea5c68b0a 100644 (file)
--- 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;
index d4a4534df8b205ca41d7f6d1a5a6c16bca8a2a00..62647a8e2e4918bb107001576df240ab7af12774 100644 (file)
@@ -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");