Skip to content

Commit

Permalink
Fix blame line alignment
Browse files Browse the repository at this point in the history
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: go-gitea#13540
Regressed by: go-gitea#13415
  • Loading branch information
silverwind committed Nov 13, 2020
1 parent c296f4f commit cb33fcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,7 @@ i.icon.centerlock {

.blame .code-inner {
white-space: pre;
word-break: normal;
}

.lines-commit {
Expand Down

0 comments on commit cb33fcc

Please sign in to comment.