]> git.openstreetmap.org Git - rails.git/commitdiff
Add a border to user images.
authorTom Hughes <tom@compton.nu>
Sun, 28 Feb 2010 00:11:17 +0000 (00:11 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 28 Feb 2010 00:11:17 +0000 (00:11 +0000)
app/views/user/_contact.html.erb
public/stylesheets/common.css

index be1c241068736d2577806fdd99812197c9a6ee06..aa277f83ed3bc78112c2d9eb2029272529c39834 100644 (file)
@@ -3,7 +3,7 @@
     <% if contact.image %>
       <%= image_tag url_for_file_column(contact, "image"), :class => "user_thumbnail" %>
     <% else %>
     <% 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 %>
   </td>
   <td>
     <% end %>
   </td>
   <td>
index 7f6559afe9cdfd5f5fd1e04428e2e9e9615e1329..0a5969a7cd3c42211d898ecaef95233442a58686 100644 (file)
@@ -707,8 +707,10 @@ abbr.geo {
 
 img.user_image {
   width: 100px;
 
 img.user_image {
   width: 100px;
+  border: 1px solid black;
 }
 
 img.user_thumbnail {
   width: 50px;
 }
 
 img.user_thumbnail {
   width: 50px;
+  border: 1px solid black;
 }
 }