From 44fdad8478988c9c84adb474729b1d7d3a5ca97b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sun, 28 Feb 2010 00:11:17 +0000 Subject: [PATCH] Add a border to user images. --- app/views/user/_contact.html.erb | 2 +- public/stylesheets/common.css | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.43.2