improved user experience

This commit is contained in:
daniel31x13
2023-12-19 18:28:48 -05:00
parent ad895eee17
commit 8529602252
2 changed files with 217 additions and 92 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export default function Modal({ toggleModal, className, children }: Props) {
className || ""
}`}
>
<div className="slide-up mt-auto sm:m-auto relative border-neutral-content rounded-t-2xl sm:rounded-2xl border-t sm:border shadow-2xl p-5 bg-base-100">
<div className="slide-up mt-auto sm:m-auto relative border-neutral-content rounded-t-2xl sm:rounded-2xl border-t sm:border shadow-2xl p-5 bg-base-100 overflow-y-auto sm:overflow-y-visible">
<div
onClick={toggleModal as MouseEventHandler<HTMLDivElement>}
className="absolute top-4 right-3 btn btn-sm outline-none btn-circle btn-ghost z-10"