summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNorwin <noerw@users.noreply.github.com>2021-06-27 17:21:19 +0200
committerGitHub <noreply@github.com>2021-06-27 17:21:19 +0200
commit615001d746000cc48a4e94c33af8aabc168418a8 (patch)
tree00e29848070854583c6419a7ab2500172376c4c5
parenteee03ae90a17242b481677a2f575e18e449de683 (diff)
downloadgitea-615001d746000cc48a4e94c33af8aabc168418a8.tar.gz
gitea-615001d746000cc48a4e94c33af8aabc168418a8.zip
review comments: break-word for long file names (#16272)
* review comments: break-word for long file names fixes #16248 Co-authored-by: zeripath <art27@cantab.net>
-rw-r--r--templates/repo/issue/view_content/comments.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/issue/view_content/comments.tmpl b/templates/repo/issue/view_content/comments.tmpl
index de31430ce0..dcc0401c99 100644
--- a/templates/repo/issue/view_content/comments.tmpl
+++ b/templates/repo/issue/view_content/comments.tmpl
@@ -462,7 +462,7 @@
{{ range $filename, $lines := .Review.CodeComments}}
{{range $line, $comms := $lines}}
<div class="ui segments">
- <div class="ui segment py-3 df ac sb">
+ <div class="ui segment py-3 df ac sb word-break">
{{$invalid := (index $comms 0).Invalidated}}
{{$resolved := (index $comms 0).IsResolved}}
{{$resolveDoer := (index $comms 0).ResolveDoer}}