Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -513,7 +513,7 @@
<div class="df ac">
<a href="{{(index $comms 0).CodeCommentURL}}" class="file-comment ml-3">{{$filename}}</a>
{{if $invalid }}
<span class="ui label basic small ml-3">
<span class="ui label basic small ml-3 word-break-normal">
{{$.i18n.Tr "repo.issues.review.outdated"}}
</span>
{{end}}
Expand Down
6 changes: 6 additions & 0 deletions web_src/less/helpers.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@

.word-break {
word-wrap: break-word !important;
word-break: break-word;
}

.word-break-normal {
word-wrap: normal !important;
word-break: normal;
}

.ellipsis {
Expand Down