Skip to content

Commit

Permalink
Place inline diff comment dialogs on split diff in 4th and 8th columns
Browse files Browse the repository at this point in the history
Fix go-gitea#18391
Fix go-gitea#18320

Signed-off-by: Andrew Thornton <art27@cantab.net>
  • Loading branch information
zeripath committed Jan 25, 2022
1 parent ab7f701 commit 0a19b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web_src/js/features/repo-issue.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,11 @@ export function initRepoPullRequestReview() {
<tr class="add-comment" data-line-type="${lineType}">
${isSplit ? `
<td class="lines-num"></td>
<td class="lines-escape"></td>
<td class="lines-type-marker"></td>
<td class="add-comment-left"></td>
<td class="lines-num"></td>
<td class="lines-escape"></td>
<td class="lines-type-marker"></td>
<td class="add-comment-right"></td>
` : `
Expand Down

0 comments on commit 0a19b45

Please sign in to comment.