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,14 +126,18 @@ 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>
<NewAppUploadForm <Col span={17} offset={4} >
formConfig={formConfig} <Card>
supportedOsVersions={supportedOsVersions} <NewAppUploadForm
onSuccessReleaseData={this.onSuccessReleaseData} formConfig={formConfig}
onClickBackButton={this.onClickBackButton} supportedOsVersions={supportedOsVersions}
/> onSuccessReleaseData={this.onSuccessReleaseData}
</Card> onClickBackButton={this.onClickBackButton}
/>
</Card>
</Col>
</Row>
</Spin> </Spin>
</div> </div>
); );

Loading…
Cancel
Save