公共贴吧头像显示问题

tmp
sw 10 years ago
parent bb9c46a632
commit 90c4a38cfc

@ -4,7 +4,10 @@
<% if memos.any? %> <% if memos.any? %>
<% memos.each do |topic| %> <% memos.each do |topic| %>
<table class="content-text-list"> <table class="content-text-list">
<tr><td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%></td> <tr>
<td colspan="2" valign="top" style="width: 50px;">
<%= link_to image_tag(url_to_avatar(topic.author), :class => "avatar"), user_path(topic.author) if topic.author%>
</td>
<td> <td>
<table width="630px" border="0"> <table width="630px" border="0">
<tr> <tr>
@ -33,7 +36,8 @@
<br /> <br />
</span></td> </span></td>
</tr> </tr>
</table></td> </table>
</td>
</tr> </tr>
</table> </table>
<% end %> <% end %>

@ -1635,6 +1635,7 @@ img.avatar {
display: block; display: block;
width: 38px; width: 38px;
height: 38px; height: 38px;
max-width: none;
} }

Loading…
Cancel
Save