diff options
-rw-r--r-- | app/views/user/_user_listing_single.rhtml | 3 | ||||
-rw-r--r-- | public/stylesheets/main.css | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/app/views/user/_user_listing_single.rhtml b/app/views/user/_user_listing_single.rhtml index 0113e5a65..a82dce6b5 100644 --- a/app/views/user/_user_listing_single.rhtml +++ b/app/views/user/_user_listing_single.rhtml @@ -1,6 +1,7 @@ <% if @highlight_words.nil? @highlight_words = [] end %> + <div class="user_listing"> <% if display_user.profile_photo %> <div class="user_photo_on_search"> @@ -10,7 +11,7 @@ end %> </div> <% end %> - <span class="head"> + <span class="head <% if display_user.profile_photo %>no_icon<% end %>"> <%= link_to highlight_words(display_user.name, @highlight_words), user_url(display_user) %> </span> diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 11612e83d..ecbbb1466 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -501,7 +501,10 @@ dd { margin: 0.6em 0 2em 4em; width: 33em; } background-repeat: no-repeat; background-position: 4px 0px; } - + .user_listing span.no_icon /* full page request list only */ + { + background-image: none; + } span.bottomline { @@ -1147,10 +1150,12 @@ div.act_link img { padding: 2px; } +.user_photo_on_search { + float: left; +} .user_photo_on_search img { width: 48px; height: 48px; - float: left; vertical-align: middle; border: 1px solid #dddddd; margin-right: 5px; |