个人主页图片超出

This commit is contained in:
sw 2015-06-26 13:54:39 +08:00
parent 0215d2224e
commit 218246239b
1 changed files with 12 additions and 12 deletions

View File

@ -53,7 +53,7 @@
<%= image_tag(url_to_avatar(e.user), :class => "avatar") %> <%= image_tag(url_to_avatar(e.user), :class => "avatar") %>
</td> </td>
<td> <td>
<table width="580" border="0" class="info-break"> <table border="0" class="info-break" style="width:580px;">
<% case e.act_type %> <% case e.act_type %>
<% when 'JournalsForMessage' %> <% when 'JournalsForMessage' %>
<tr> <tr>
@ -97,7 +97,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable act.notes %> <%= textAreailizable act.notes %>
</p> </p>
@ -144,7 +144,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable act, :description %> <%= textAreailizable act, :description %>
</p></td> </p></td>
@ -204,7 +204,7 @@
<% else %> <% else %>
<% desStr= textAreailizable(act, :notes) %> <% desStr= textAreailizable(act, :notes) %>
<% end %> <% end %>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= desStr %> <%= desStr %>
</p> </p>
@ -259,7 +259,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable act, :long_comments %> <%= textAreailizable act, :long_comments %>
</p> </p>
@ -320,7 +320,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable(act, :content) %> <%= textAreailizable(act, :content) %>
</p> </p>
@ -361,7 +361,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"></p> <p class="font_description"></p>
</td> </td>
</tr> </tr>
@ -404,7 +404,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable act, :description %> <%= textAreailizable act, :description %>
</p> </p>
@ -446,7 +446,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" style="WORD-BREAK: break-all; WORD-WRAP: break-word"> <td colspan="2" class="upload_img" style="max-width:580px;">
<%= textAreailizable act, :description %> <%= textAreailizable act, :description %>
</td> </td>
</tr> </tr>
@ -482,7 +482,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" style="WORD-BREAK: break-all; WORD-WRAP: break-word"> <td colspan="2" class="upload_img" style="max-width:580px;">
<%= textAreailizable act, :description %> <%= textAreailizable act, :description %>
</td> </td>
</tr> </tr>
@ -535,7 +535,7 @@
<% end %> <% end %>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable act, :description %> <%= textAreailizable act, :description %>
</p> </p>
@ -609,7 +609,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2" width="580" class="upload_img"> <td colspan="2" class="upload_img" style="max-width:580px;">
<p class="font_description"> <p class="font_description">
<%= textAreailizable e.notes %> <%= textAreailizable e.notes %>
</p> </p>