add space and background to diff hunk headers
1 file changed, 1 insertion(+), 1 deletion(-)
changed files
M templates/commit.go → templates/commit.go
@@ -89,7 +89,7 @@ Pre( g.Group(g.Map(d.TextFragments, func(tf git.TextFragment) g.Node { return g.Group( []g.Node{ - Span(g.Attr("style", "display: block"), g.Text(tf.Header)), + Header(Class("diff-hunk-header"), g.Text(tf.Header)), g.Map(tf.Lines, func(line gitdiff.Line) g.Node { switch line.Op.String() { case "+":