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

Commit dbe24fa

Browse files
authored
Merge pull request #6461 from matrix-org/gsouquet/fix-18128
2 parents 93ae5c2 + c7bbb49 commit dbe24fa

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

res/css/views/rooms/_EventBubbleTile.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,12 +155,20 @@ limitations under the License.
155155
.mx_EventTile_avatar {
156156
position: absolute;
157157
top: 0;
158+
line-height: 1;
159+
z-index: 9;
158160
img {
159161
box-shadow: 0 0 0 3px $eventbubble-avatar-outline;
160162
border-radius: 50%;
161163
}
162164
}
163165

166+
&.mx_EventTile_noSender {
167+
.mx_EventTile_avatar {
168+
top: -19px;
169+
}
170+
}
171+
164172
.mx_BaseAvatar,
165173
.mx_EventTile_avatar {
166174
line-height: 1;

src/components/views/rooms/EventTile.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ export default class EventTile extends React.Component<IProps, IState> {
896896
mx_EventTile_unknown: !isBubbleMessage && this.state.verified === E2E_STATE.UNKNOWN,
897897
mx_EventTile_bad: isEncryptionFailure,
898898
mx_EventTile_emote: msgtype === 'm.emote',
899+
mx_EventTile_noSender: this.props.hideSender,
899900
});
900901

901902
// If the tile is in the Sending state, don't speak the message.

0 commit comments

Comments
 (0)