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>
This commit is contained in:
parent
d0a676c8ff
commit
db16275d9e
|
@ -1122,6 +1122,7 @@ i.icon.centerlock {
|
||||||
|
|
||||||
.blame .code-inner {
|
.blame .code-inner {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
|
word-break: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.lines-commit {
|
.lines-commit {
|
||||||
|
|
Loading…
Reference in New Issue