Fix #53: Open Modals Center

This commit is contained in:
Khemarato Bhikkhu 2022-01-24 08:15:36 +07:00
parent 8104c6cd26
commit 99401bf0bd

View file

@ -17,7 +17,7 @@ export const BaseModal = ({ title, children, isOpen, handleClose }: Props) => {
className="fixed z-10 inset-0 overflow-y-auto"
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
as={Fragment}
enter="ease-out duration-300"