论坛描述长度过长不会换行显示
This commit is contained in:
parent
15b573871a
commit
1d84064221
|
@ -98,7 +98,7 @@
|
|||
<div class="fontGrey3">回答:<a href="javascript:void(0);" class="linkOrange mr5"><%= @forum.memo_count %></a> 帖子:<a href="javascript:void(0);" class="linkOrange"><%=@forum.topic_count%></a></div>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="fontGrey2 mt10"><span id="forum_desc_span"><%= @forum.description%></span>
|
||||
<div class="fontGrey2 mt10"><span id="forum_desc_span" style="word-break:normal; width:auto; display:block; white-space:pre-wrap;word-wrap : break-word ;overflow: hidden ;"><%= @forum.description%></span>
|
||||
<%if @forum.creator.id == User.current.id%>
|
||||
<a href="javascript:void(0);" onclick="edit_desc();">
|
||||
<!--<img src="<%#= Rails.root%>/images/signature_edit.png" width="12" height="12" />-->
|
||||
|
|
Loading…
Reference in New Issue