Chats: put attachment above content

This commit is contained in:
Alex Gleason 2020-09-06 14:15:06 -05:00
parent afd823fae0
commit 07f29ebcb9
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
2 changed files with 2 additions and 1 deletions

View file

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

View file

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