Chats: put attachment above content
This commit is contained in:
parent
afd823fae0
commit
07f29ebcb9
2 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue