avatar row can overflow, but hidden

This commit is contained in:
Hannes Mannerheim 2015-02-25 21:50:16 +01:00
parent 1e36c997f0
commit fb4ad4e1f9
2 changed files with 4 additions and 1 deletions

View File

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

View File

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