diff --git a/app/views/layouts/_base_project_top.html.erb b/app/views/layouts/_base_project_top.html.erb index abb5fa291..e744b35bb 100644 --- a/app/views/layouts/_base_project_top.html.erb +++ b/app/views/layouts/_base_project_top.html.erb @@ -10,7 +10,7 @@
<% unless @project.is_public? %><% end %> <%=link_to "#{@project.owner.try(:show_name)}/".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" %>
diff --git a/public/stylesheets/css/project.css b/public/stylesheets/css/project.css index 477cc6fcd..f50cd379f 100644 --- a/public/stylesheets/css/project.css +++ b/public/stylesheets/css/project.css @@ -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);}