cherry-pick conflicts.

pull/1784/head
Warrick Corfe-Tan 4 years ago
parent 0aaf40637c
commit 4cdc852ea3

@ -49,8 +49,14 @@
} }
&__container--outgoing { &__container--outgoing {
@include themify($themes) { &--opaque {
background: themed('sentMessageBackground'); @include themify($themes) {
background: themed('sentMessageBackground');
}
}
&--transparent {
background: none;
} }
.module-message__text { .module-message__text {

@ -781,7 +781,10 @@ class MessageInner extends React.PureComponent<MessageRegularProps, State> {
<div <div
className={classNames( className={classNames(
'module-message__container', 'module-message__container',
`module-message__container--${direction}` `module-message__container--${direction}`,
isShowingImage
? `module-message__container--${direction}--transparent`
: `module-message__container--${direction}--opaque`
)} )}
style={{ style={{
width: isShowingImage ? width : undefined, width: isShowingImage ? width : undefined,

Loading…
Cancel
Save