From: Tom Hughes Date: Sun, 28 Feb 2010 00:11:17 +0000 (+0000) Subject: Add a border to user images. X-Git-Tag: live~5099^2~242 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/44fdad8478988c9c84adb474729b1d7d3a5ca97b Add a border to user images. --- diff --git a/app/views/user/_contact.html.erb b/app/views/user/_contact.html.erb index be1c24106..aa277f83e 100644 --- a/app/views/user/_contact.html.erb +++ b/app/views/user/_contact.html.erb @@ -3,7 +3,7 @@ <% if contact.image %> <%= image_tag url_for_file_column(contact, "image"), :class => "user_thumbnail" %> <% else %> - <%= image_tag "anon_small.png" %> + <%= image_tag "anon_small.png", :class => "user_thumbnail" %> <% end %> diff --git a/public/stylesheets/common.css b/public/stylesheets/common.css index 7f6559afe..0a5969a7c 100644 --- a/public/stylesheets/common.css +++ b/public/stylesheets/common.css @@ -707,8 +707,10 @@ abbr.geo { img.user_image { width: 100px; + border: 1px solid black; } img.user_thumbnail { width: 50px; + border: 1px solid black; }