mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-26 08:51:32 +02:00
Put avatar is right place when sender isnt displayed in message bubbles
This commit is contained in:
parent
358a4e5d3f
commit
1ba5f19f2e
@ -162,6 +162,12 @@ limitations under the License.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.mx_EventTile_noSender {
|
||||||
|
.mx_EventTile_avatar {
|
||||||
|
top: -19px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&[data-has-reply=true] {
|
&[data-has-reply=true] {
|
||||||
> .mx_EventTile_line {
|
> .mx_EventTile_line {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -893,6 +893,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
|||||||
mx_EventTile_unknown: !isBubbleMessage && this.state.verified === E2E_STATE.UNKNOWN,
|
mx_EventTile_unknown: !isBubbleMessage && this.state.verified === E2E_STATE.UNKNOWN,
|
||||||
mx_EventTile_bad: isEncryptionFailure,
|
mx_EventTile_bad: isEncryptionFailure,
|
||||||
mx_EventTile_emote: msgtype === 'm.emote',
|
mx_EventTile_emote: msgtype === 'm.emote',
|
||||||
|
mx_EventTile_noSender: this.props.hideSender,
|
||||||
});
|
});
|
||||||
|
|
||||||
// If the tile is in the Sending state, don't speak the message.
|
// If the tile is in the Sending state, don't speak the message.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user