标题过长

This commit is contained in:
huang 2016-10-28 14:43:59 +08:00
parent c72236b87b
commit 540c8ffa8e
2 changed files with 3 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<div class="fl pro_new_name ml15">
<% unless @project.is_public? %><span class="icons_newpro_lock"></span><% end %>
<%=link_to "#{@project.owner.try(:show_name)}<span class='ml5 mr5'>/</span>".html_safe, user_path(@project.owner), :class => "pro_new_username" %>
<%=link_to @project.name, project_path(@project), :class => "pro_new_proname" %>
<%=link_to @project.name, project_path(@project), :class => "pro_new_project_name" %>
</div>
<!--加入、退出、关注项目-->

View File

@ -857,7 +857,8 @@ input.pro_newissue_con_check{ width: 15px; height: 15px;}
.pro_new_name{width: 600px; }
.pro_new_name a { font-size: 24px; color: #3b94d6; line-height: 24px;}
.pro_new_name a:hover{ color: #2783c7;}
a.pro_new_proname{ width: 150px; overflow: hidden;white-space: nowrap;text-overflow:ellipsis;}
a.pro_new_proname{ overflow: hidden;white-space: nowrap;text-overflow:ellipsis;display: inline-block;}
a.pro_new_project_name{ width: 250px; overflow: hidden;white-space: nowrap;text-overflow:ellipsis;display: inline-block;}
a.pro_new_topbtn{ padding: 3px 7px; font-size: 12px; line-height: 20px; color: #333;vertical-align: middle;background-color: #fff; border: 1px solid #ddd; border-left: 0; border-top-right-radius: 3px; border-bottom-right-radius: 3px; color: #333;}
a.pro_new_topbtn_left { padding: 3px 10px; font-size: 12px;line-height: 20px; background-image: linear-gradient(#fcfcfc, #eee); border: 1px solid #d5d5d5;border-radius: 3px;border-top-right-radius: 0;border-bottom-right-radius: 0; color: #333; }
a:hover.pro_new_topbtn_left{background-image: linear-gradient(#ededed, #dddddd);}