1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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