fix mx_Event containment rules and empty read avatar row

pull/21833/head
Germain Souquet 2021-06-03 08:41:12 +01:00
parent 430cfa9c06
commit a34f8a29f4
2 changed files with 1 additions and 2 deletions

View File

@ -222,7 +222,6 @@ limitations under the License.
.mx_RoomView_MessageList li { .mx_RoomView_MessageList li {
clear: both; clear: both;
contain: content;
} }
li.mx_RoomView_myReadMarker_container { li.mx_RoomView_myReadMarker_container {

View File

@ -631,7 +631,7 @@ export default class EventTile extends React.Component<IProps, IState> {
// return early if there are no read receipts // return early if there are no read receipts
if (!this.props.readReceipts || this.props.readReceipts.length === 0) { if (!this.props.readReceipts || this.props.readReceipts.length === 0) {
return (<span className="mx_EventTile_readAvatars" />); return null;
} }
const ReadReceiptMarker = sdk.getComponent('rooms.ReadReceiptMarker'); const ReadReceiptMarker = sdk.getComponent('rooms.ReadReceiptMarker');