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
(go-gitea#18403)

Backport go-gitea#18403

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 42991dc commit b7d627e
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 b7d627e

Please sign in to comment.