made create Collection modal smaller and button width 100%

This commit is contained in:
Abhinav-grd 2021-01-15 12:10:12 +05:30
parent 36b4eab2f0
commit 5d3f7af0fe

View file

@ -47,13 +47,11 @@ export default function CreateCollection(props) {
<Modal
show={modalView}
onHide={closeModal}
size='lg'
aria-labelledby='contained-modal-title-vcenter'
centered
backdrop="static"
>
<Modal.Header closeButton>
<Modal.Title id='contained-modal-title-vcenter'>
<Modal.Title>
Create Collection
</Modal.Title>
</Modal.Header>
@ -63,7 +61,7 @@ export default function CreateCollection(props) {
<Form.Label>Album Name:</Form.Label>
<Form.Control type="text" placeholder="Enter Album Name" value={albumName} onChange={handleChange} />
</Form.Group>
<Button variant="primary" type="submit">
<Button variant="primary" type="submit" style={{ width: "100%" }}>
Submit
</Button>
</Form>