Specify width and height for image

User-uploaded images don't get automatically scaled
like Gravatar images do.
This commit is contained in:
John Firebaugh 2013-08-15 09:51:48 -07:00
parent cea0cccc6d
commit c341b84ab2
2 changed files with 2 additions and 2 deletions

View file

@ -573,7 +573,7 @@ a.donate {
img { img {
vertical-align: top; vertical-align: top;
border-radius: 2px 0 0 2px; border-radius: 2px 0 0 2px;
padding-right: 5px; margin-right: 5px;
} }
#inboxanchor { #inboxanchor {

View file

@ -1,3 +1,3 @@
<span id="inboxanchor" class="count-number"> <span id="inboxanchor" class="count-number">
<img src='<%= user_image_url(@user, :size => 20) %>'><span><%= @user.new_messages.size %></span> <img src='<%= user_image_url(@user, :size => 20) %>' width='20' height='20'><span><%= @user.new_messages.size %></span>
</span> </span>