some style changes

This commit is contained in:
Bruno Windels 2019-04-11 13:07:54 +02:00
parent 4e8b3c34c0
commit 0553a6f1d6
2 changed files with 7 additions and 12 deletions

View File

@ -15,24 +15,19 @@ limitations under the License.
*/
.mx_RoomPreviewBar {
flex: 0 0 auto;
margin: 15px;
padding: 10px;
border-radius: 4px;
border: 1px solid $panel-divider-color;
text-align: center;
height: 176px;
background-color: $event-selected-color;
align-items: center;
flex-direction: column;
justify-content: center;
display: flex;
background-color: $preview-bar-bg-color;
-webkit-align-items: center;
}
.mx_RoomPreviewBar_wrapper {
}
.mx_RoomPreviewBar_invite_text {
color: $primary-fg-color;
}
.mx_RoomPreviewBar_join_text {
color: $warning-color;
}
@ -59,4 +54,4 @@ limitations under the License.
.mx_RoomPreviewBar_spinnerIntro {
margin-top: 50px;
}
}

View File

@ -235,7 +235,7 @@ module.exports = React.createClass({
}
return (
<div className="mx_RoomPreviewBar">
<div className="mx_RoomPreviewBar dark-panel">
<div className="mx_RoomPreviewBar_wrapper">
{ joinBlock }
{ previewBlock }