修改项目描述为1级标题时文字会重叠的BUG #1210

解决方案:修改css样式
This commit is contained in:
sw 2014-09-10 14:49:27 +08:00
parent f70edc1a0b
commit 9ff4fee8da
2 changed files with 7 additions and 17 deletions

View File

@ -1,7 +1,7 @@
<% @nav_dispaly_project_label = 1
@nav_dispaly_forum_label = 1 %>
<% #@nav_dispaly_project_label = 1 %>
<%#@nav_dispaly_project_label = 1 %>
<!DOCTYPE html>
<html lang="en">
<head>
@ -48,9 +48,6 @@
</tr>
</table>
</div>
<div id="sidebar">
<div class="spaceleft">
<div class="inf_user_image">
@ -67,10 +64,10 @@
<% if @project.project_type == 0 %>
<%= l(:label_project_grade)%> :
<%= link_to(format("%.2f" ,project_scores(@project) ).to_i, {:controller => 'projects',
:action => 'show_projects_score',
:remote => true,
:id => @project.id
}, :style => "color: #EC6300;")%>
:action => 'show_projects_score',
:remote => true,
:id => @project.id
}, :style => "color: #EC6300;")%>
<% end %>
<!-- end -->
</div>
@ -89,13 +86,11 @@
<% @project.versions.each do |version| %>
<% files_count += version.attachments.count %>
<% end %>
<td class="font_index"><%=link_to "#{@project.members.count}", project_member_path(@project) %></td>
<td class="font_index"><%=link_to @project.watcher_users.count, :controller=>"projects", :action=>"watcherlist", :id => @project %></td>
<td class="font_index"><%=link_to "#{@project.issues.count}", project_issues_path(@project) %></td>
<!-- <td class="font_index"><%=link_to files_count, project_files_path(@project) %></td> -->
</tr>
<tr class="font_aram">
<td align="center" width="70px"> <%= l(:label_member) %></td>
<td align="center" width="100px"><%= l(:label_user_watchered) %></td>
@ -105,12 +100,10 @@
</table>
<div class="user_underline"></div>
</div>
<div class="inf_user_context">
<div class="font_title_left">
<%= l(:label_project_overview) %>
</div>
<div style="padding-bottom: 8px">
<div class="font_lighter_sidebar" style="word-break:break-all;word-wrap: break-word;">
<%= textilizable @project.description %>
@ -121,8 +114,7 @@
</div>
<div class="user_underline"></div>
</div>
<!--tags-->
<!--tags-->
<div class="user_fans">
<!-- added by william -for tag -->
<div class="user_tags">
@ -131,7 +123,6 @@
</div>
</div>
</div>
<!--tool-->
<div class="user_underline"></div>
<div class="tool">

View File

@ -741,8 +741,7 @@ ul.user_course_sort li{list-style-type:none;
color:#919294;
font-size:13px;
padding-left: 12px;
padding-right: 8px;
line-height: 1.5em;
padding-right: 8px;
}
.created_on_project{
padding-left: 12px;