From 775b9865085db8c9192bb89faa568ed18984636c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Fri, 14 Aug 2026 09:32:16 -1000 Subject: Give the stub and tag rows their full width --- source/ui-log.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'source/ui-log.c') diff --git a/source/ui-log.c b/source/ui-log.c index 4bd17fa..9e9e31f 100644 --- a/source/ui-log.c +++ b/source/ui-log.c @@ -152,7 +152,9 @@ static void print_graph_above(struct rev_info *revs, struct strbuf *graph, while (!graph_next_line(revs->graph, graph)) { html(""); html(graph->buf); - htmlf("\n", columns); + // The graph cell is one of the columns, so the filler spans + // the rest. + htmlf("\n", columns - 1); strbuf_setlen(graph, 0); } } @@ -301,9 +303,11 @@ static void print_commit(struct commit *commit, struct rev_info *revs) print_graph_padding(revs, &graphbuf, msg_lines); } else - html(""); + html(""); - htmlf("\n", columns - (revs->graph ? 1 : 0), + // Either way one cell is already on the row, so the message + // spans the remaining columns. + htmlf("\n", columns - 1, ctx.qry.showmsg ? " class='logmsg'" : ""); html_txt(msgbuf.buf); html("\n"); -- cgit v2.8.0