diff options
author | Nikita Tchayka <nikitatchayka@gmail.com> | 2023-09-17 17:30:47 +0100 |
---|---|---|
committer | Nikita Tchayka <nikitatchayka@gmail.com> | 2023-09-17 17:30:47 +0100 |
commit | 257c43e352a75d6e56bf08afcdaa95a36f316b89 (patch) | |
tree | 10c89ad8bc225c070e68abe43289d6f0cf47a936 /src/components/Modal.tsx | |
parent | 3478dcbbd6cd0023d6152519e51f87fcbcc8501d (diff) | |
download | neohaskell.github.io-257c43e352a75d6e56bf08afcdaa95a36f316b89.tar.gz neohaskell.github.io-257c43e352a75d6e56bf08afcdaa95a36f316b89.tar.bz2 neohaskell.github.io-257c43e352a75d6e56bf08afcdaa95a36f316b89.zip |
Update disclaimer
Diffstat (limited to 'src/components/Modal.tsx')
-rw-r--r-- | src/components/Modal.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/Modal.tsx b/src/components/Modal.tsx index 55ad174..80d482e 100644 --- a/src/components/Modal.tsx +++ b/src/components/Modal.tsx @@ -22,7 +22,10 @@ export default function Modal({ }: ModalProps) { return ( open && ( - <div className="z-999 fixed left-0 top-0 flex h-full w-full items-center justify-center bg-black bg-opacity-50 py-10"> + <div + className="z-999 fixed left-0 top-0 flex h-full w-full items-center justify-center bg-black bg-opacity-50 py-10" + onClick={() => onOk()} + > <div className="max-h-full w-full max-w-xl overflow-y-auto sm:rounded-2xl bg-white"> <div className="w-full"> <div className="mx-auto my-20 max-w-[400px] flex flex-col gap-5"> |