Author: Jeff Smith <whydoubt@gmail.com>
ui-blame: Distinguish hashes column from lines column Signed-off-by: Jeff Smith <whydoubt@gmail.com> Reviewed-by: John Keeping <john@keeping.me.uk>
cgit.css | 1 + ui-blame.c | 2 +-
diff --git a/cgit.css b/cgit.css index 836f8ae19fe405ca1d23f87fa4963a91db2b0f79..893ebeb4038bc5d64d918a21930b950ea5c68b0a 100644 --- a/cgit.css +++ b/cgit.css @@ -300,6 +300,7 @@ margin-top: 0.5em; 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 d4a4534df8b205ca41d7f6d1a5a6c16bca8a2a00..62647a8e2e4918bb107001576df240ab7af12774 100644 --- a/ui-blame.c +++ b/ui-blame.c @@ -51,7 +51,7 @@ const char *cp, *cpend; 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");