设置课程大纲时若博客标题太长以省略号结束

This commit is contained in:
cxt 2016-05-05 11:34:31 +08:00
parent f4cb6f120c
commit 55718f2d44
2 changed files with 2 additions and 1 deletions

View File

@ -18,7 +18,7 @@
<li class="fl">
<input name="outline_id" type="radio" value="<%= article.id%>" class="courseSendCheckbox"/>
</li>
<li class="blogTitle fl"><%= article.title%></li>
<li class="blogTitle fl mw220"><%= article.title%></li>
</ul>
<div class="homeworkPublishTime">发布时间:<%= format_date(article.created_at)%></div>
<% end %>

View File

@ -181,6 +181,7 @@ h4{ font-size:14px; color:#3b3b3b;}
.h70{ height:70px;}
.h150{ height:150px;}
.p10 {padding-left:10px; padding-right:10px;}
.mw220 {max-width: 220px !important;}
.mw360 {max-width: 360px !important;}
.mw380 {max-width: 380px !important;}
.mw400 {max-width: 400px !important;}