修复课程首页当前学校课程数为9时,页面显示有问题
This commit is contained in:
parent
14da0c7d73
commit
ddd25f96aa
|
@ -1,5 +1,5 @@
|
||||||
<% course_list.map do |course| %>
|
<% course_list.map do |course| %>
|
||||||
<li class='<%= cycle("odd", "even") %>' title=<%= course.description.to_s.gsub(/<\/?.*?>/,"") %>>
|
<li class='<%= cycle("odd", "even") %>' title="<%= course.description.to_s.gsub(/<\/?.*?>/,'') %>" style="min-height: 69px;">
|
||||||
<div class='avatar'>
|
<div class='avatar'>
|
||||||
<%= image_tag(get_course_avatar(course), :class => "avatar-4") %>
|
<%= image_tag(get_course_avatar(course), :class => "avatar-4") %>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue