mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 12:28:50 +03:00
improve layout
This commit is contained in:
parent
0a79b0f9e2
commit
eb7144ef85
1 changed files with 8 additions and 4 deletions
|
@ -56,8 +56,10 @@ module.exports = React.createClass({
|
|||
}
|
||||
else if (this.props.canJoin) {
|
||||
joinBlock = (
|
||||
<div className="mx_RoomPreviewBar_join_text">
|
||||
Would you like to <a onClick={ this.props.onJoinClick }>join</a> this room?
|
||||
<div>
|
||||
<div className="mx_RoomPreviewBar_join_text">
|
||||
Would you like to <a onClick={ this.props.onJoinClick }>join</a> this room?
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -72,8 +74,10 @@ module.exports = React.createClass({
|
|||
|
||||
return (
|
||||
<div className="mx_RoomPreviewBar">
|
||||
{ previewBlock }
|
||||
{ joinBlock }
|
||||
<div className="mx_RoomPreviewBar_wrapper">
|
||||
{ joinBlock }
|
||||
{ previewBlock }
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue