Skip to content

Commit

Permalink
review comments: break-word for long file names
Browse files Browse the repository at this point in the history
fixes #16248
  • Loading branch information
noerw committed Jun 27, 2021
1 parent f533b5d commit 8f1c359
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/repo/issue/view_content/comments.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 break-word">
{{$invalid := (index $comms 0).Invalidated}}
{{$resolved := (index $comms 0).IsResolved}}
{{$resolveDoer := (index $comms 0).ResolveDoer}}
Expand Down
4 changes: 4 additions & 0 deletions web_src/less/_base.less
Original file line number Diff line number Diff line change
Expand Up @@ -2071,3 +2071,7 @@ table th[data-sortt-desc] {
margin-top: -.5em;
margin-bottom: -.5em;
}

.break-word {
word-break: break-word;
}

0 comments on commit 8f1c359

Please sign in to comment.