Specify width and height for image
User-uploaded images don't get automatically scaled like Gravatar images do.
This commit is contained in:
parent
cea0cccc6d
commit
c341b84ab2
2 changed files with 2 additions and 2 deletions
|
@ -573,7 +573,7 @@ a.donate {
|
|||
img {
|
||||
vertical-align: top;
|
||||
border-radius: 2px 0 0 2px;
|
||||
padding-right: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
#inboxanchor {
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<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>
|
Loading…
Add table
Reference in a new issue