项目问题的动态内容显示超出边框

This commit is contained in:
cxt 2015-08-31 14:28:43 +08:00
parent 8345a9d94e
commit 23c1ac5a4a
2 changed files with 7 additions and 2 deletions

View File

@ -28,7 +28,12 @@
</div> </div>
<div class="homepagePostDeadline">时间:<%=format_date(activity.created_on) %></div> <div class="homepagePostDeadline">时间:<%=format_date(activity.created_on) %></div>
</div> </div>
<div class="homepagePostIntro break_word" id="activity_description_<%= user_activity.id %>">缺陷描述:<%= activity.description.html_safe %></div> <div class="homepagePostIntro break_word" id="activity_description_<%= user_activity.id %>">缺陷描述:
<% if activity.description? %>
<%= textAreailizable activity, :description, :attachments => activity.attachments %>
<% end %>
<%#= activity.description.html_safe %>
</div>
<div class="mt10" style="font-weight:normal;"> <div class="mt10" style="font-weight:normal;">
<% if activity.attachments.any? %> <% if activity.attachments.any? %>
<% activity.attachments.each do |attachment| %> <% activity.attachments.each do |attachment| %>

View File

@ -953,7 +953,7 @@ img.ui-datepicker-trigger {
.is_public_checkbox{display: none !important;} .is_public_checkbox{display: none !important;}
.is_public{display: none !important;} .is_public{display: none !important;}
.ui-corner-left{background: #64bdd9;} .ui-corner-left{background: #64bdd9;}
.homepagePostIntro img{max-width: 100%;}