项目简介样式调整,并且输入网页能点击

This commit is contained in:
daiao 2016-11-11 17:35:11 +08:00
parent bb8726479a
commit 1ec0100386
2 changed files with 11 additions and 6 deletions

View File

@ -1,11 +1,13 @@
<!--新版项目头部结束-->
<div class="pro_new_info mb10 break_word">
<div class="pro_new_info mb10 break_word" style="padding-bottom: 5px" >
<div id="project_invite_code"><%= render :partial => 'projects/invite_code' %></div>
<div id="project_description_code" >
<% if @project.description.blank? %>
<p class="break_word"><%= @project.name %></p>
<p class="break_word" style="padding-top:5px"><%= @project.name %></p>
<% else %>
<p class="break_word"><%=h @project.description.html_safe %></p>
<p class="break_word" style="padding-top:5px"><%=h @project.description.html_safe %></p>
<% end %>
</div>
</div>
<input type="hidden" value="<%= @type %>" name="type" id="user_activities_type">
@ -34,4 +36,7 @@
</div>
<%= render :partial => "project_activities", :locals => {:forge_acts => @events_pages, :page => 0, :type => @type} %>
</div>
</div>
<script>
autoUrl('project_description_code');
</script>

View File

@ -887,7 +887,7 @@ a:hover.btn_newpro_grey,a:active.btn_newpro_grey{ background: #eaeaea;}
/*项目简介*/
.pro_new_info{ border:1px solid #ddd; background-color:#fff; width: 998px;}
.pro_new_info h2{ background: #fff; font-size: 14px; color: #333; height: 40px; line-height: 40px; padding-left: 15px; border-bottom:1px solid #e5e5e5;}
.pro_new_info p{ padding-bottom:2px; padding-left: 5px; color: #666; padding-right: 5px}
.pro_new_info p{ padding-bottom:2px; padding-left: 15px; color: #666; padding-right: 5px}
.pro_new_info_weight{ font-size: 16px; font-weight: bold;}
/* 新版项目配置*/
.pro_new_setting_leftnav{ width: 162px; border:1px solid #ddd; background-color:#fff; padding:3px; padding-bottom: 0;}
@ -1030,4 +1030,4 @@ textarea.muban_textarea{ width: 98.5%;border:1px solid #ddd; background:#fff; co
a.pro_new_users { max-width:80px; overflow:hidden;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; word-break:break-all; display: inline-block; font-weight: bold; color: #666;}
a:hover.pro_new_users {color: #3b94d6}
.pro_new_users img{ width:40px;height:40px; border: 3px solid #fff;-webkit-border-radius:50px;-moz-border-radius:50px;-o-border-radius:50px;border-radius:50px;}
.pro_new_users img:hover{border: 3px solid #e6e6e6;}
.pro_new_users img:hover{border: 3px solid #e6e6e6;}