课程动态描述过长超出界面
This commit is contained in:
parent
9a2f572cf4
commit
a99dda837a
|
@ -15,7 +15,7 @@
|
||||||
<span class="fl"> <%= l(:label_new_activity) %>:</span>
|
<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"%>
|
<%= 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 />
|
<br />
|
||||||
<p class="mt5"><%= e.event_description %>
|
<p class="mt5 break_word"><%= e.event_description %>
|
||||||
<br />
|
<br />
|
||||||
<%= l :label_activity_time %> : <%= format_activity_day(day) %><%= format_time(e.event_datetime, false) %>
|
<%= l :label_activity_time %> : <%= format_activity_day(day) %><%= format_time(e.event_datetime, false) %>
|
||||||
</p>
|
</p>
|
||||||
|
|
|
@ -208,6 +208,7 @@ a:hover.close_btn {background-position:-66px 0;}
|
||||||
.show_btn {background-position:-119px 0;}
|
.show_btn {background-position:-119px 0;}
|
||||||
.msgserver a {color:#15bccf; }
|
.msgserver a {color:#15bccf; }
|
||||||
.msgserver a:hover { text-decoration:underline; }
|
.msgserver a:hover { text-decoration:underline; }
|
||||||
|
.break_word{word-break: break-all;word-wrap: break-word;}
|
||||||
/***** Ajax indicator ******/
|
/***** Ajax indicator ******/
|
||||||
#ajax-indicator {
|
#ajax-indicator {
|
||||||
position: absolute; /* fixed not supported by IE */
|
position: absolute; /* fixed not supported by IE */
|
||||||
|
|
Loading…
Reference in New Issue