CSS for IntegrationsManager

This commit is contained in:
Matthew Hodgson 2016-05-18 17:02:39 +01:00
parent ac24d6707f
commit c4d408d095
2 changed files with 17 additions and 4 deletions

View File

@ -48,8 +48,8 @@ module.exports = React.createClass({
render: function() { render: function() {
return ( return (
<div className="mx_IntegrationManager"> <div className="mx_IntegrationsManager">
<iframe src={ this.props.src } width={640} height={600}></iframe>; <iframe src={ this.props.src }></iframe>
</div> </div>
); );
} }

View File

@ -15,6 +15,19 @@ limitations under the License.
*/ */
.mx_IntegrationsManager { .mx_IntegrationsManager {
width: 640px; display: -webkit-flex;
height: 600px; display: flex;
width: 100%;
height: 100%;
-webkit-align-items: center;
align-items: center;
justify-content: center;
-webkit-justify-content: center;
}
.mx_IntegrationsManager iframe {
background-color: #fff;
border: 0px;
width: 720px;
height: 512px;
} }