]> source.dussan.org Git - gitea.git/commitdiff
Place inline diff comment dialogs in the 4th column. (#18321)
authorJonRB <4564448+eeyrjmr@users.noreply.github.com>
Tue, 18 Jan 2022 10:28:45 +0000 (10:28 +0000)
committerGitHub <noreply@github.com>
Tue, 18 Jan 2022 10:28:45 +0000 (10:28 +0000)
Comment dialogs for inline comments should appear in 4th column (not 3rd column), this PR changes the column that the inline review comment is associated with.

This problem has occurred due to an unrecognised conflict between #17562 and #17315.

Fix as zeripath suggested in #18320

Fix #18320

Co-authored-by: zeripath <art27@cantab.net>
web_src/js/features/repo-issue.js

index 6e57facfd26a0a22e629cd449a01fc0216d60efb..59d5e7b2864f5da85f0e775380520f0d205b9070 100644 (file)
@@ -500,7 +500,7 @@ export function initRepoPullRequestReview() {
             <td class="lines-type-marker"></td>
             <td class="add-comment-right"></td>
           ` : `
-            <td colspan="2" class="lines-num"></td>
+            <td colspan="3" class="lines-num"></td>
             <td class="add-comment-left add-comment-right" colspan="2"></td>
           `}
         </tr>`);