diff --git a/app/controllers/aspects_controller.rb b/app/controllers/aspects_controller.rb index b13d9ca92..9b20272bc 100644 --- a/app/controllers/aspects_controller.rb +++ b/app/controllers/aspects_controller.rb @@ -29,7 +29,7 @@ class AspectsController < ApplicationController @contacts = Contact.all(:aspect_ids.in => @aspect_ids, :user_id => current_user.id, :pending => false) @contact_hashes = hashes_for_contacts @contacts - @aspect_hashes = hashes_for_aspects @aspects, @contacts, :limit => 8 + @aspect_hashes = hashes_for_aspects @aspects, @contacts, :limit => 16 @aspect = :all unless params[:a_ids] diff --git a/app/views/aspects/_aspect.haml b/app/views/aspects/_aspect.haml index 79a88ff12..1d9879a88 100644 --- a/app/views/aspects/_aspect.haml +++ b/app/views/aspects/_aspect.haml @@ -8,5 +8,5 @@ - if contacts.length > 0 .contacts - - for hash in contacts[0..16] + - for hash in contacts = person_image_link(hash[:person]) diff --git a/public/javascripts/aspect-edit.js b/public/javascripts/aspect-edit.js index 348867196..cdd390979 100644 --- a/public/javascripts/aspect-edit.js +++ b/public/javascripts/aspect-edit.js @@ -37,7 +37,7 @@ var AspectEdit = { }, stopDrag: function(event, ui) { - $(this).find("img").first().animate({'height':70, 'width':70, 'opacity':1}, 200); + $(this).find("img").first().animate({'height':50, 'width':50, 'opacity':1}, 200); $(".draggable_info").fadeOut(100); }, diff --git a/public/stylesheets/sass/application.sass b/public/stylesheets/sass/application.sass index 5a916d3b1..a7828c4e5 100644 --- a/public/stylesheets/sass/application.sass +++ b/public/stylesheets/sass/application.sass @@ -1100,7 +1100,7 @@ ul#aspect_nav .person :display inline-block :cursor move - :z-index 10 + :z-index 3 :position relative :padding 0 :margin 5px