Fix encryption badge layout

This commit is contained in:
Jorik Schellekens 2020-05-06 09:51:01 +01:00
parent 07c2d0cb02
commit 5568e6488d
2 changed files with 2 additions and 2 deletions

View file

@ -92,7 +92,7 @@ $right-padding: 5px;
.mx_EventTile_line .mx_EventTile_content,
.mx_EventTile_line .mx_EventTile_e2eIcon,
.mx_eventTile_line > div {
.mx_EventTile_line .mx_ReplyThread_wrapper_empty {
display: inline-block;
}

View file

@ -180,7 +180,7 @@ export default class ReplyThread extends React.Component {
static makeThread(parentEv, onHeightChanged, permalinkCreator, ref, useIRCLayout) {
if (!ReplyThread.getParentEventId(parentEv)) {
return <div />;
return <div className="mx_ReplyThread_wrapper_empty" />;
}
return <ReplyThread parentEv={parentEv} onHeightChanged={onHeightChanged}
ref={ref} permalinkCreator={permalinkCreator} useIRCLayout={useIRCLayout} />;