mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
Put avatar is right place when sender isnt displayed in message bubbles
This commit is contained in:
parent
358a4e5d3f
commit
1ba5f19f2e
2 changed files with 7 additions and 0 deletions
|
@ -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…
Reference in a new issue