|
36 | 36 | {{end}}
|
37 | 37 | <div id="code-comments-{{$comment.ID}}" class="field comment-code-cloud {{if $resolved}}tw-hidden{{end}}">
|
38 | 38 | <div class="comment-list">
|
39 |
| - <ui class="ui comments"> |
| 39 | + <div class="ui comments"> |
40 | 40 | {{template "repo/diff/comments" dict "root" $ "comments" .comments}}
|
41 |
| - </ui> |
| 41 | + </div> |
42 | 42 | </div>
|
43 |
| - <div class="tw-flex tw-justify-end tw-items-center tw-gap-2 tw-mt-2 tw-flex-wrap"> |
| 43 | + <div class="flex-text-block tw-mt-2 tw-flex-wrap tw-justify-end"> |
44 | 44 | <div class="ui buttons">
|
45 | 45 | <button class="ui icon tiny basic button previous-conversation">
|
46 |
| - {{svg "octicon-arrow-up" 12 "icon"}} {{ctx.Locale.Tr "repo.issues.previous"}} |
| 46 | + {{svg "octicon-arrow-up" 12}} {{ctx.Locale.Tr "repo.issues.previous"}} |
47 | 47 | </button>
|
48 | 48 | <button class="ui icon tiny basic button next-conversation">
|
49 |
| - {{svg "octicon-arrow-down" 12 "icon"}} {{ctx.Locale.Tr "repo.issues.next"}} |
| 49 | + {{svg "octicon-arrow-down" 12}} {{ctx.Locale.Tr "repo.issues.next"}} |
50 | 50 | </button>
|
51 | 51 | </div>
|
52 | 52 | {{if and $.CanMarkConversation $hasReview (not $isReviewPending)}}
|
53 |
| - <button class="ui icon tiny basic button resolve-conversation tw-mr-0" data-origin="diff" data-action="{{if not $resolved}}Resolve{{else}}UnResolve{{end}}" data-comment-id="{{$comment.ID}}" data-update-url="{{$.RepoLink}}/issues/resolve_conversation"> |
| 53 | + <button class="ui icon tiny basic button resolve-conversation" data-origin="diff" data-action="{{if not $resolved}}Resolve{{else}}UnResolve{{end}}" data-comment-id="{{$comment.ID}}" data-update-url="{{$.RepoLink}}/issues/resolve_conversation"> |
54 | 54 | {{if $resolved}}
|
55 | 55 | {{ctx.Locale.Tr "repo.issues.review.un_resolve_conversation"}}
|
56 | 56 | {{else}}
|
|
59 | 59 | </button>
|
60 | 60 | {{end}}
|
61 | 61 | {{if and $.SignedUserID (not $.Repository.IsArchived)}}
|
62 |
| - <button class="comment-form-reply ui primary tiny labeled icon button tw-mr-0"> |
63 |
| - {{svg "octicon-reply" 16 "reply icon tw-mr-1"}}{{ctx.Locale.Tr "repo.diff.comment.reply"}} |
| 62 | + <button class="comment-form-reply ui primary icon tiny button"> |
| 63 | + {{svg "octicon-reply" 12}}{{ctx.Locale.Tr "repo.diff.comment.reply"}} |
64 | 64 | </button>
|
65 | 65 | {{end}}
|
66 | 66 | </div>
|
|
0 commit comments