Commit 56947139 authored by tom's avatar tom

modal fixes

parent c9338b93
...@@ -61,9 +61,14 @@ const sizes = { ...@@ -61,9 +61,14 @@ const sizes = {
}, },
}, },
full: { full: {
dialogContainer: {
height: '100%',
},
dialog: { dialog: {
borderRadius: 'none', borderRadius: 'none',
padding: '80px 16px 32px 16px', padding: '80px 16px 32px 16px',
height: '100%',
overflowY: 'scroll',
}, },
closeButton: { closeButton: {
top: 4, top: 4,
......
...@@ -39,7 +39,7 @@ export default function FormModal<TData>({ ...@@ -39,7 +39,7 @@ export default function FormModal<TData>({
}, [ onClose, setAlertVisible ]); }, [ onClose, setAlertVisible ]);
return ( return (
<Modal isOpen={ isOpen } onClose={ onModalClose } size={{ base: 'full', lg: 'md' }} > <Modal isOpen={ isOpen } onClose={ onModalClose } size={{ base: 'full', lg: 'md' }}>
<ModalOverlay/> <ModalOverlay/>
<ModalContent> <ModalContent>
<ModalHeader fontWeight="500" textStyle="h3">{ title }</ModalHeader> <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