From: John Firebaugh Date: Thu, 15 Aug 2013 16:51:48 +0000 (-0700) Subject: Specify width and height for image X-Git-Tag: live~4811^2~4 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c341b84ab26e83e4deef91f042d5a368175597c2 Specify width and height for image User-uploaded images don't get automatically scaled like Gravatar images do. --- diff --git a/app/assets/stylesheets/common.css.scss b/app/assets/stylesheets/common.css.scss index 6320a7d89..c2f642edc 100644 --- a/app/assets/stylesheets/common.css.scss +++ b/app/assets/stylesheets/common.css.scss @@ -573,7 +573,7 @@ a.donate { img { vertical-align: top; border-radius: 2px 0 0 2px; - padding-right: 5px; + margin-right: 5px; } #inboxanchor { diff --git a/app/views/layouts/_inbox.html.erb b/app/views/layouts/_inbox.html.erb index 6dd6218ee..787dd8bfc 100644 --- a/app/views/layouts/_inbox.html.erb +++ b/app/views/layouts/_inbox.html.erb @@ -1,3 +1,3 @@ - <%= @user.new_messages.size %> + <%= @user.new_messages.size %> \ No newline at end of file