Commit 56947139 authored by tom's avatar tom

modal fixes

parent c9338b93
......@@ -61,9 +61,14 @@ const sizes = {
},
},
full: {
dialogContainer: {
height: '100%',
},
dialog: {
borderRadius: 'none',
padding: '80px 16px 32px 16px',
height: '100%',
overflowY: 'scroll',
},
closeButton: {
top: 4,
......
......@@ -39,7 +39,7 @@ export default function FormModal<TData>({
}, [ onClose, setAlertVisible ]);
return (
<Modal isOpen={ isOpen } onClose={ onModalClose } size={{ base: 'full', lg: 'md' }} >
<Modal isOpen={ isOpen } onClose={ onModalClose } size={{ base: 'full', lg: 'md' }}>
<ModalOverlay/>
<ModalContent>
<ModalHeader fontWeight="500" textStyle="h3">{ title }</ModalHeader>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment