diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2023-04-04 19:05:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-04 19:05:07 +0800 |
commit | d149093ce3c32503b95c66208de6cb5861e4e666 (patch) | |
tree | c6b1fb9802df5c23c9a77f6c15a8f0bb58ad6376 /web_src/js/features/repo-issue.js | |
parent | d93f3222a5eb88fbc0f192c3bf3a0ebfd7ccc6c9 (diff) | |
download | gitea-d149093ce3c32503b95c66208de6cb5861e4e666.tar.gz gitea-d149093ce3c32503b95c66208de6cb5861e4e666.zip |
Fix code view (diff) broken layout (#23096)
Close #22911
I think it's ready for review now, feel free to test it, welcome to help
to improve.
### Before
![image](https://user-images.githubusercontent.com/2114189/220958734-06871615-b498-4143-8449-3d443f08ffaa.png)
### After
![image](https://user-images.githubusercontent.com/2114189/220958621-0dce2728-57b8-4a1f-ac5d-48c7c2d42f5c.png)
Diffstat (limited to 'web_src/js/features/repo-issue.js')
-rw-r--r-- | web_src/js/features/repo-issue.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/web_src/js/features/repo-issue.js b/web_src/js/features/repo-issue.js index 03c9977f49..f2a6f5815b 100644 --- a/web_src/js/features/repo-issue.js +++ b/web_src/js/features/repo-issue.js @@ -504,18 +504,9 @@ export function initRepoPullRequestReview() { ntr = $(` <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" colspan="4"></td> - <td class="lines-num"></td> - <td class="lines-escape"></td> - <td class="lines-type-marker"></td> <td class="add-comment-right" colspan="4"></td> ` : ` - <td class="lines-num"></td> - <td class="lines-num"></td> - <td class="lines-escape"></td> <td class="add-comment-left add-comment-right" colspan="5"></td> `} </tr>`); |