[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:
http://shanebp.bearcentral.com/mini-avatar.jpg
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-
content/uploads/avatars/1/b9cfb82509709f491fb50d9d1386d44c-bpthumb.jpg"
alt="Profile picture of adminshanebp" class="avatar user-1-avatar"
width="50" height="50" />
</a>
}}}
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
$mini_activity_actions...
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/>
BuddyPress
More information about the buddypress-trac
mailing list