minor UI improvement
This commit is contained in:
parent
dbbfeb42f7
commit
a03b0e5c7d
|
@ -11,7 +11,7 @@ type Props = {
|
||||||
|
|
||||||
export default function Modal({ toggleModal, className, children }: Props) {
|
export default function Modal({ toggleModal, className, children }: Props) {
|
||||||
return (
|
return (
|
||||||
<div className="overflow-y-auto py-2 fixed top-0 bottom-0 right-0 left-0 bg-gray-500 bg-opacity-10 flex items-center fade-in z-30">
|
<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 items-center fade-in z-30">
|
||||||
<ClickAwayHandler
|
<ClickAwayHandler
|
||||||
onClickOutside={toggleModal}
|
onClickOutside={toggleModal}
|
||||||
className={`w-fit m-auto mt-10 sm:mt-20 ${className}`}
|
className={`w-fit m-auto mt-10 sm:mt-20 ${className}`}
|
||||||
|
|
Ŝarĝante…
Reference in New Issue