diff options
| author | Factiven <[email protected]> | 2023-09-25 00:44:40 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-25 00:44:40 +0700 |
| commit | 1a85c2571690ba592ac5183d5eadaf9846fe532b (patch) | |
| tree | 3f3552c00cd49c0eeab5275275cf5cf5666e5027 /components/modal.js | |
| parent | Delete .github/workflows/deploy.yml (diff) | |
| download | moopa-4.1.0.tar.xz moopa-4.1.0.zip | |
Update v4.1.0 (#79)v4.1.0
* Update v4.1.0
* Update pages/_app.js
Diffstat (limited to 'components/modal.js')
| -rw-r--r-- | components/modal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/modal.js b/components/modal.js index 78b76d7..5d6d0cc 100644 --- a/components/modal.js +++ b/components/modal.js @@ -2,7 +2,7 @@ export default function Modal({ open, onClose, children }) { return ( <div onClick={onClose} - className={`fixed z-50 inset-0 flex justify-center items-center transition-colors ${ + className={`fixed z-[999] inset-0 flex justify-center items-center transition-colors ${ open ? "visible bg-black bg-opacity-50 backdrop-blur-sm" : "invisible" }`} > |