From db16275d9efe59bf54cbe5d26e1614079d00eaaa Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 13 Nov 2020 19:27:36 +0100 Subject: [PATCH] Fix blame line alignment (#13542) We can't wrap code in blame because it's essentially two tables side-by-side which will misalign them when one line gets larger. Fixes: https://github.com/go-gitea/gitea/issues/13540 Regressed by: https://github.com/go-gitea/gitea/pull/13415 Co-authored-by: techknowlogick --- web_src/less/_base.less | 1 + 1 file changed, 1 insertion(+) diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 63c99324f..7a484e426 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -1122,6 +1122,7 @@ i.icon.centerlock { .blame .code-inner { white-space: pre; + word-break: normal; } .lines-commit {