Add a border to user images.

This commit is contained in:
Tom Hughes 2010-02-28 00:11:17 +00:00
parent 56336763de
commit 44fdad8478
2 changed files with 3 additions and 1 deletions

View file

@ -3,7 +3,7 @@
<% if contact.image %> <% if contact.image %>
<%= image_tag url_for_file_column(contact, "image"), :class => "user_thumbnail" %> <%= image_tag url_for_file_column(contact, "image"), :class => "user_thumbnail" %>
<% else %> <% else %>
<%= image_tag "anon_small.png" %> <%= image_tag "anon_small.png", :class => "user_thumbnail" %>
<% end %> <% end %>
</td> </td>
<td> <td>

View file

@ -707,8 +707,10 @@ abbr.geo {
img.user_image { img.user_image {
width: 100px; width: 100px;
border: 1px solid black;
} }
img.user_thumbnail { img.user_thumbnail {
width: 50px; width: 50px;
border: 1px solid black;
} }