Merge pull request #54 from buddhist-uni/uf-middle-modal

Fix #53: Open Stats and Info Modals Center
This commit is contained in:
Hannah Park 2022-01-23 20:52:21 -05:00 committed by GitHub
commit fd95f7a5d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ export const BaseModal = ({ title, children, isOpen, handleClose }: Props) => {
className="fixed z-10 inset-0 overflow-y-auto" className="fixed z-10 inset-0 overflow-y-auto"
onClose={handleClose} onClose={handleClose}
> >
<div className="flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> <div className="flex items-center justify-center min-h-screen py-10 px-4 text-center sm:block sm:p-0">
<Transition.Child <Transition.Child
as={Fragment} as={Fragment}
enter="ease-out duration-300" enter="ease-out duration-300"