fixed aspects/manage css/js bug. aspect listings on aspects/index show at max 2 lines of ppl

This commit is contained in:
danielvincent 2011-01-08 17:17:37 -08:00
parent 6cc5d6e3ab
commit f2f3059d72
4 changed files with 4 additions and 4 deletions

View file

@ -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]

View file

@ -8,5 +8,5 @@
- if contacts.length > 0
.contacts
- for hash in contacts[0..16]
- for hash in contacts
= person_image_link(hash[:person])

View file

@ -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);
},

View file

@ -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