split room header and header wrapper

This commit is contained in:
Germain Souquet 2021-05-21 10:21:54 +01:00
parent 47e007e08f
commit 5ba419db54

View file

@ -257,7 +257,8 @@ export default class RoomHeader extends React.Component {
const e2eIcon = this.props.e2eStatus ? <E2EIcon status={this.props.e2eStatus} /> : undefined;
return (
<div className="mx_RoomHeader mx_RoomHeader_wrapper light-panel" aria-owns="mx_RightPanel">
<div className="mx_RoomHeader light-panel">
<div className="mx_RoomHeader_wrapper" aria-owns="mx_RightPanel">
<div className="mx_RoomHeader_avatar">{ roomAvatar }</div>
<div className="mx_RoomHeader_e2eIcon">{ e2eIcon }</div>
{ name }
@ -266,6 +267,7 @@ export default class RoomHeader extends React.Component {
{ rightRow }
<RoomHeaderButtons />
</div>
</div>
);
}
}