avatar row can overflow, but hidden
This commit is contained in:
parent
1e36c997f0
commit
fb4ad4e1f9
|
@ -2216,6 +2216,7 @@ ul.stats {
|
|||
list-style-position: outside;
|
||||
list-style-type: none;
|
||||
overflow: hidden;
|
||||
width: 1000px;
|
||||
}
|
||||
.queet.rtl ul.stats {
|
||||
text-align:right;
|
||||
|
|
|
@ -116,7 +116,9 @@ function showFavsAndRequeetsInQueet(q,data) {
|
|||
var avatarnum = 1;
|
||||
$.each(timeSorted,function(){
|
||||
q.children('.queet').find('.avatar-row').append('<a title="' + favsAndRepeatsByTime[this].fullname + '" data-user-id="' + favsAndRepeatsByTime[this].user_id + '" href="' + favsAndRepeatsByTime[this].profileurl + '"><img alt="' + favsAndRepeatsByTime[this].fullname + '" src="' + favsAndRepeatsByTime[this].avatarurl + '" class="avatar size24" id="av-' + favsAndRepeatsByTime[this].user_id + '"></a>');
|
||||
return (avatarnum < 8);
|
||||
if(avatarnum > 15) {
|
||||
return false;
|
||||
}
|
||||
avatarnum++;
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user