summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorkolaente <k@knt.li>2021-10-16 04:22:24 +0200
committerGitHub <noreply@github.com>2021-10-16 10:22:24 +0800
commit6dd015a53e94852d2d5bea5fc0412fd3c979d680 (patch)
treeb9de8c21f6facee25374a236b21d45b9318edd21 /templates
parent74b6805225b57ab765277107cac7c7159873626e (diff)
downloadgitea-6dd015a53e94852d2d5bea5fc0412fd3c979d680.tar.gz
gitea-6dd015a53e94852d2d5bea5fc0412fd3c979d680.zip
fix: code review comments on mobile (#17321)
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/repo/issue/view_content/comments.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index c7d7574231..cb95720e29 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -521,7 +521,7 @@
</div>
</div>
{{end}}
- <div id="code-comments-{{(index $comms 0).ID}}" class="comment-code-cloud ui segment{{if $resolved}} hide{{end}} p-3">
+ <div id="code-comments-{{(index $comms 0).ID}}" class="comment-code-cloud ui segment{{if $resolved}} hide{{end}}">
<div class="ui comments mb-0">
{{range $comms}}
{{ $createdSubStr:= TimeSinceUnix .CreatedUnix $.Lang }}
@@ -590,7 +590,7 @@
</div>
{{end}}
</div>
- <div class="df ac fw mt-3 mb-2 mx-3">
+ <div class="code-comment-buttons df ac fw mt-3 mb-2 mx-3">
<div class="f1">
{{if $resolved}}
<div class="ui grey text">
@@ -599,7 +599,7 @@
</div>
{{end}}
</div>
- <div>
+ <div class="code-comment-buttons-buttons">
{{if and $.CanMarkConversation $isNotPending}}
<button class="ui tiny basic button resolve-conversation" data-origin="timeline" data-action="{{if not $resolved}}Resolve{{else}}UnResolve{{end}}" data-comment-id="{{(index $comms 0).ID}}" data-update-url="{{$.RepoLink}}/issues/resolve_conversation">
{{if $resolved}}