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'
|
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>
|
||||||
))}
|
))}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue