论坛描述自动换行

This commit is contained in:
lizanle 2015-09-23 11:34:16 +08:00
parent d9c0809f53
commit e82e303bb1
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<%= render :partial => "memos/praise_tread",:locals => {:obj => @memo,:show_flag => true,:user_id =>User.current.id,:horizontal => true}%>
</span>
<div class="cl"></div>
<div class="fl fontGrey3">
<div class="fl fontGrey3" style="word-break:normal; width:auto; display:block; white-space:pre-wrap;word-wrap : break-word ;overflow: hidden ;">
<%= @memo.content.html_safe%>
</div>
<div class="cl"></div>