summaryrefslogtreecommitdiffstats
path: root/web_src/less/_base.less
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-13 19:27:36 +0100
committerGitHub <noreply@github.com>2020-11-13 13:27:36 -0500
commitdb16275d9efe59bf54cbe5d26e1614079d00eaaa (patch)
tree75331e97c2232a7503cd9a53b4f2e29d61fcba7e /web_src/less/_base.less
parentd0a676c8ffebff97a12a006138b12b0086a91732 (diff)
downloadgitea-db16275d9efe59bf54cbe5d26e1614079d00eaaa.tar.gz
gitea-db16275d9efe59bf54cbe5d26e1614079d00eaaa.zip
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 <techknowlogick@gitea.io>
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r--web_src/less/_base.less1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less
index 63c99324fd..7a484e4269 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 {