Add the row and col tags to add release feature

feature/appm-store/pbac
nipun 5 years ago
parent 2978f6f032
commit 8e8411ab38

@ -17,7 +17,7 @@
*/ */
import React from "react"; import React from "react";
import {Form, notification, Spin, Card} from "antd"; import {Form, notification, Spin, Card, Row, Col} from "antd";
import axios from "axios"; import axios from "axios";
import {withRouter} from 'react-router-dom' import {withRouter} from 'react-router-dom'
import {withConfigContext} from "../../context/ConfigContext"; import {withConfigContext} from "../../context/ConfigContext";
@ -126,7 +126,9 @@ class AddNewReleaseFormComponent extends React.Component {
return ( return (
<div> <div>
<Spin tip="Uploading..." spinning={loading}> <Spin tip="Uploading..." spinning={loading}>
<Card style={{ width: "65%", marginLeft: "18%" }}> <Row>
<Col span={17} offset={4} >
<Card>
<NewAppUploadForm <NewAppUploadForm
formConfig={formConfig} formConfig={formConfig}
supportedOsVersions={supportedOsVersions} supportedOsVersions={supportedOsVersions}
@ -134,6 +136,8 @@ class AddNewReleaseFormComponent extends React.Component {
onClickBackButton={this.onClickBackButton} onClickBackButton={this.onClickBackButton}
/> />
</Card> </Card>
</Col>
</Row>
</Spin> </Spin>
</div> </div>
); );

Loading…
Cancel
Save