Add a border to user images.
This commit is contained in:
parent
56336763de
commit
44fdad8478
2 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue