Browse Source

🩹 Chat fed. event: acc name shld truncate (#1730) (#1732)

pull/1734/head
Jannik 4 years ago committed by GitHub
parent
commit
dcf19923a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      webroot/js/components/chat/message.js

10
webroot/js/components/chat/message.js

@ -62,16 +62,14 @@ function SingleFederatedUser(props) {
class="rounded-full border border-slate-500 w-16" class="rounded-full border border-slate-500 w-16"
/> />
<span <span
style=${{ style=${{ backgroundImage: `url(${icon})` }}
backgroundImage: `url(${icon})`,
}}
class="absolute h-6 w-6 rounded-full border-2 border-white action-icon" class="absolute h-6 w-6 rounded-full border-2 border-white action-icon"
></span> ></span>
</div> </div>
<div class="px-4 py-2"> <div class="px-4 py-2 min-w-0">
<span class=" text-gray-500 text-sm hover:no-underline truncate"> <div class="text-gray-500 text-sm hover:no-underline truncate">
${title} ${title}
</span> </div>
<p <p
class=" text-gray-700 w-full text-base leading-6" class=" text-gray-700 w-full text-base leading-6"
dangerouslySetInnerHTML=${{ __html: body }} dangerouslySetInnerHTML=${{ __html: body }}

Loading…
Cancel
Save