Chats: put attachment above content

better-thread-display
Alex Gleason 4 years ago
parent afd823fae0
commit 07f29ebcb9
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -173,11 +173,11 @@ class ChatMessageList extends ImmutablePureComponent {
className='chat-message__bubble'
ref={this.setBubbleRef}
>
{this.maybeRenderMedia(chatMessage)}
<span
className='chat-message__content'
dangerouslySetInnerHTML={{ __html: this.parseContent(chatMessage) }}
/>
{this.maybeRenderMedia(chatMessage)}
</div>
</div>
))}

@ -308,6 +308,7 @@
.chat-message .media-gallery {
height: 120px !important;
margin: 4px 0 8px;
.spoiler-button {
display: none;

Loading…
Cancel
Save