diff --git a/templates/repo/diff/stats.tmpl b/templates/repo/diff/stats.tmpl index 09ce9b3478..dca72dbb4e 100644 --- a/templates/repo/diff/stats.tmpl +++ b/templates/repo/diff/stats.tmpl @@ -6,8 +6,8 @@ {{if or .Addition .Deletion}}
- {{if .Addition}}+{{.Addition}}{{end}} - {{if .Deletion}}-{{.Deletion}}{{end}} + {{if .Addition}}+{{.Addition}}{{end}} + {{if .Deletion}}-{{.Deletion}}{{end}} {{/* if the denominator is zero, then the float result is "width: NaNpx", as before, it just works */}} diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 91d745f1ae..f5e4b80ad3 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1735,11 +1735,6 @@ tbody.commit-list { margin-left: 0 !important; } -.diff-file-header .tw-text-diff-added-fg, -.diff-file-header .tw-text-diff-removed-fg { - font-weight: var(--font-weight-semibold); -} - .diff-stats-bar { display: inline-block; background-color: var(--color-diff-removed-fg); /* the background is used as "text foreground color" */