#1240课程作业长度过长时增加换行显示

This commit is contained in:
sw 2014-10-08 11:31:44 +08:00
parent 8ac2640a09
commit 26ff74a798
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
<div style="margin-left: 20px;">
<span class="portrait"><%= image_tag(url_to_avatar(@bid.author), :class => "avatar")%></span>
<span class="body">
<span class="body" style="word-break: break-all;word-wrap: break-word;">
<h3><%= link_to(@bid.author.lastname+@bid.author.firstname, user_path(@bid.author))%><%= link_to(@bid.name,respond_path(@bid)) %></h3>
<% if @bid.reward_type.nil? or @bid.reward_type == 1%>
<p>