room invite css
parent
cc9123a33d
commit
02846c4fff
|
@ -94,6 +94,19 @@ limitations under the License.
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomView_invitePrompt {
|
.mx_RoomView_invitePrompt {
|
||||||
|
-webkit-box-ordinal-group: 2;
|
||||||
|
-moz-box-ordinal-group: 2;
|
||||||
|
-ms-flex-order: 2;
|
||||||
|
-webkit-order: 2;
|
||||||
|
order: 2;
|
||||||
|
|
||||||
|
min-width: 0px;
|
||||||
|
max-width: 720px;
|
||||||
|
width: 100%;
|
||||||
|
margin: auto;
|
||||||
|
|
||||||
|
margin-top: 12px;
|
||||||
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mx_RoomView_statusArea {
|
.mx_RoomView_statusArea {
|
||||||
|
|
|
@ -92,8 +92,10 @@ module.exports = React.createClass({
|
||||||
var joinErrorText = this.state.joinError ? "Failed to join room!" : "";
|
var joinErrorText = this.state.joinError ? "Failed to join room!" : "";
|
||||||
return (
|
return (
|
||||||
<div className="mx_RoomView">
|
<div className="mx_RoomView">
|
||||||
|
<RoomHeader ref="header" room={this.state.room} simpleHeader="Room invite"/>
|
||||||
<div className="mx_RoomView_invitePrompt">
|
<div className="mx_RoomView_invitePrompt">
|
||||||
<div>{inviteEvent.user_id} has invited you to a room</div>
|
<div>{inviteEvent.user_id} has invited you to a room</div>
|
||||||
|
<br/>
|
||||||
<button ref="joinButton" onClick={this.onJoinButtonClicked}>Join</button>
|
<button ref="joinButton" onClick={this.onJoinButtonClicked}>Join</button>
|
||||||
<div className="error">{joinErrorText}</div>
|
<div className="error">{joinErrorText}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue