See the screenshot below, due to the long username and the translation to dutch of 'posted x minutes ago' the total <span> is expanding beyond the post count.
The span is created by memberLink(); but since it is a general function I could not really alter that. So I have solved it with the following code in conversations.php:
See the screenshot below, due to the long username and the translation to dutch of 'posted x minutes ago' the total
<span>
is expanding beyond the post count.The span is created by memberLink(); but since it is a general function I could not really alter that. So I have solved it with the following code in conversations.php:
"<span class='lastPostMember name'><a href='".URL(memberURL($conversation["lastPostMemberId"], $conversation["lastPostMember"]))."' title='".sprintf(sanitizeHTML(T("View %s's profile")), $conversation["lastPostMember"])."'>".(strlen($conversation["lastPostMember"]) > 15 ? substr($conversation["lastPostMember"],0,12).'...' : $conversation["lastPostMember"])."</a></span>",
Really dirty fix but I could not get it to work with CSS
text-overflow: ellipsis;
Do you know an better solution @tobscure ?