daisy ui [WIP]

This commit is contained in:
daniel31x13
2023-11-25 05:54:43 -05:00
parent d53dd93bb7
commit 0a398d1fd9
16 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ type Props = {
export default function Modal({ toggleModal, className, children }: Props) {
return (
<div className="overflow-y-auto py-2 fixed top-0 bottom-0 right-0 left-0 bg-gray-500 bg-opacity-10 backdrop-blur-sm flex justify-center items-center fade-in z-30">
<div className="overflow-y-auto py-2 fixed top-0 bottom-0 right-0 left-0 bg-black bg-opacity-10 backdrop-blur-sm flex justify-center items-center fade-in z-30">
<ClickAwayHandler
onClickOutside={toggleModal}
className={`m-auto ${className || ""}`}