修改系统消息页面中,图片大小显示问题

This commit is contained in:
ouyangxuhua 2015-09-19 13:46:35 +08:00
parent bc964ac931
commit f4d11f8844
1 changed files with 5 additions and 3 deletions

View File

@ -43,9 +43,11 @@
<span style="color:#0781b4; max-width:470px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;vertical-align: top;"><%= system_message.subject.nil? ? "系统消息" : system_message.subject %></span> <span style="color:#0781b4; max-width:470px; display:block; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;vertical-align: top;"><%= system_message.subject.nil? ? "系统消息" : system_message.subject %></span>
</div> </div>
<div class="cl"></div> <div class="cl"></div>
<p class="homepagePostIntro break_word upload_img"> <div class="homepagePostIntro break_word upload_img">
<p>
<%= system_message.content.nil? ? system_message.description.html_safe : system_message.content.html_safe %> <%= system_message.content.nil? ? system_message.description.html_safe : system_message.content.html_safe %>
</p> </p>
</div>
<div class="cl"></div> <div class="cl"></div>
<p class="homepagePostDeadline">截止时间:<%= format_time(system_message.created_at) %></p> <p class="homepagePostDeadline">截止时间:<%= format_time(system_message.created_at) %></p>
</div> </div>