From aa7657c544c19cc56b90b8484c7e22ea61d7a8ec Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Thu, 4 Jul 2024 11:46:31 +0000 Subject: [PATCH] ui(blame): remove broken padding (#4318) This padding causes visual bug, because it only applies to the first line and not to the rest in case the line is broken into multiple. I don't think it's actually needed here for good look, so I decided to remove it. In case decreased padding looks worse, the padding can be grown back via other element so it wouldn't cause this bug. Preview: https://codeberg.org/attachments/56fd2ee8-4955-409d-998f-1feba987b9af Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4318 Reviewed-by: Gusted --- templates/repo/blame.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/blame.tmpl b/templates/repo/blame.tmpl index 691f75dcad..58be0b17e1 100644 --- a/templates/repo/blame.tmpl +++ b/templates/repo/blame.tmpl @@ -78,7 +78,7 @@ {{end}} - {{$row.Code}} + {{$row.Code}} {{end}}