[buddypress-trac] [BuddyPress] #4372: Activity css mini squashing avatars

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Jul 21 15:20:37 UTC 2012

#4372: Activity css mini squashing avatars
 Reporter:  shanebp       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
 Some activity items are squashing avatars via css.
 Here is a screenshot:
 Note the first activity item. It looks the same in Profile->Activity.
 Here is the html for that item:

 <li class="profile new_avatar activity-item mini" id="activity-54">
         <div class="activity-avatar">
         <a href="http://shanebp.bearcentral.com/members/adminshanebp/">
         <img src="http://shanebp.bearcentral.com/wp-
 alt="Profile picture of adminshanebp" class="avatar user-1-avatar"
 width="50" height="50" />

 It's the 'mini' in the 'li class' that is doing it - note the '50' size in
 the img tag.

 I believe the mini is added in
 bp-activity-template -> bp_get_activity_css_class()

 But change profile picture is not in the array for $mini_activity_actions,
 so why is it being added for that activity item ?

 It's also being added for friendship_created - which is in the array for

 But why is css being used to squash the avatar in any 'top-level' item in
 activity listings?

 [ I don't have any forums enabled. ]
 ps. There is no RC1 option in Version

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4372>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list