课程动态描述过长超出界面

This commit is contained in:
sw 2015-03-26 19:11:06 +08:00
parent 9a2f572cf4
commit a99dda837a
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<span class="fl"> <%= l(:label_new_activity) %></span>
<%= link_to "#{eventToLanguageCourse(e.event_type, @course)}: "<< format_activity_title(e.event_title), (e.event_type.eql?("attachment")&&e.container.kind_of?(Course)) ? course_files_path(e.container) : e.event_url,:class => "problem_tit c_dblue fl fb"%>
<br />
<p class="mt5"><%= e.event_description %>
<p class="mt5 break_word"><%= e.event_description %>
<br />
<%= l :label_activity_time %> <%= format_activity_day(day) %><%= format_time(e.event_datetime, false) %>
</p>

View File

@ -208,6 +208,7 @@ a:hover.close_btn {background-position:-66px 0;}
.show_btn {background-position:-119px 0;}
.msgserver a {color:#15bccf; }
.msgserver a:hover { text-decoration:underline; }
.break_word{word-break: break-all;word-wrap: break-word;}
/***** Ajax indicator ******/
#ajax-indicator {
position: absolute; /* fixed not supported by IE */