improve layout

pull/21833/head
Matthew Hodgson 2016-01-18 19:56:56 +00:00
parent 0a79b0f9e2
commit eb7144ef85
1 changed files with 8 additions and 4 deletions

View File

@ -56,8 +56,10 @@ module.exports = React.createClass({
} }
else if (this.props.canJoin) { else if (this.props.canJoin) {
joinBlock = ( joinBlock = (
<div className="mx_RoomPreviewBar_join_text"> <div>
Would you like to <a onClick={ this.props.onJoinClick }>join</a> this room? <div className="mx_RoomPreviewBar_join_text">
Would you like to <a onClick={ this.props.onJoinClick }>join</a> this room?
</div>
</div> </div>
); );
} }
@ -72,8 +74,10 @@ module.exports = React.createClass({
return ( return (
<div className="mx_RoomPreviewBar"> <div className="mx_RoomPreviewBar">
{ previewBlock } <div className="mx_RoomPreviewBar_wrapper">
{ joinBlock } { joinBlock }
{ previewBlock }
</div>
</div> </div>
); );
} }