增加word-wrap及word-break

This commit is contained in:
ouyangxuhua 2015-09-15 16:45:11 +08:00
parent 9ba89b3fe7
commit 3bd62310ad
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<h3><%=h @issue.tracker %> #<%= @issue.id %></h3>
<p>由<%= @journal.user %> 更新于 <%= format_time @journal.created_on %></p>
<div class="text-diff">
<div class="text-diff" style="word-break:break-all; word-wrap:break-word;">
<%= simple_format_without_paragraph @diff.to_html %>
</div>