fixed aspects/manage css/js bug. aspect listings on aspects/index show at max 2 lines of ppl
This commit is contained in:
parent
6cc5d6e3ab
commit
f2f3059d72
4 changed files with 4 additions and 4 deletions
|
|
@ -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]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,5 +8,5 @@
|
|||
|
||||
- if contacts.length > 0
|
||||
.contacts
|
||||
- for hash in contacts[0..16]
|
||||
- for hash in contacts
|
||||
= person_image_link(hash[:person])
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue