Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6461 from matrix-org/gsouquet/fix-18128
Browse files Browse the repository at this point in the history
  • Loading branch information
germain-gg authored Jul 26, 2021
2 parents 93ae5c2 + c7bbb49 commit dbe24fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,20 @@ limitations under the License.
.mx_EventTile_avatar {
position: absolute;
top: 0;
line-height: 1;
z-index: 9;
img {
box-shadow: 0 0 0 3px $eventbubble-avatar-outline;
border-radius: 50%;
}
}

&.mx_EventTile_noSender {
.mx_EventTile_avatar {
top: -19px;
}
}

.mx_BaseAvatar,
.mx_EventTile_avatar {
line-height: 1;
Expand Down
1 change: 1 addition & 0 deletions src/components/views/rooms/EventTile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,7 @@ export default class EventTile extends React.Component<IProps, IState> {
mx_EventTile_unknown: !isBubbleMessage && this.state.verified === E2E_STATE.UNKNOWN,
mx_EventTile_bad: isEncryptionFailure,
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.
Expand Down

0 comments on commit dbe24fa

Please sign in to comment.