头像宽度不够
This commit is contained in:
parent
e82e303bb1
commit
0d8010382e
|
@ -56,11 +56,11 @@
|
|||
<div class="cl"></div>
|
||||
<% @replies.each do |reply| %>
|
||||
<div class="homepagePostReplyContainer">
|
||||
<div class="homepagePostReplyPortrait">
|
||||
<div class="homepagePostReplyPortrait" style="width: 45px !important;">
|
||||
<!--<a href="javascript:void(0);"><img src="images/homepageImage.jpg" width="45" height="45" alt="用户头像" /></a>-->
|
||||
<%= link_to image_tag(url_to_avatar(reply.author), :width => 45,:height => 45), user_path(reply.author) %>
|
||||
</div>
|
||||
<div class="homepagePostReplyDes">
|
||||
<div class="homepagePostReplyDes" style="width: 620px !important;">
|
||||
<div class="homepagePostReplyPublisher"><a href="<%=user_path(reply.author)%>" class="newsBlue mr10 f14"><%= reply.author.name%></a>
|
||||
<% if reply.parent && reply.parent.id != @memo.id%>
|
||||
<span class="f14">回复</span><a href="<%= user_path(reply.parent.author)%>" class="newsBlue mr10 ml15 f14"><%= reply.parent.author.name%></a>
|
||||
|
|
Loading…
Reference in New Issue