]> source.dussan.org Git - gitea.git/commitdiff
review comments: break-word for long file names (#16272)
authorNorwin <noerw@users.noreply.github.com>
Sun, 27 Jun 2021 15:21:19 +0000 (17:21 +0200)
committerGitHub <noreply@github.com>
Sun, 27 Jun 2021 15:21:19 +0000 (17:21 +0200)
* review comments: break-word for long file names

fixes #16248

Co-authored-by: zeripath <art27@cantab.net>
templates/repo/issue/view_content/comments.tmpl

index de31430ce05994adea939e34b09d28da8e8ed054..dcc0401c99962bf9bd2195747d44aab04c0938f6 100644 (file)
                                {{ 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}}