diff --git a/src/Components/Gaming/Modal.tsx b/src/Components/Gaming/Modal.tsx index bcc34a3b..9056b1b8 100644 --- a/src/Components/Gaming/Modal.tsx +++ b/src/Components/Gaming/Modal.tsx @@ -7,8 +7,8 @@ export function Modal({children}) { <> {/* You can open the modal using ID.showModal() method */} - -
+ + {children} diff --git a/src/index.css b/src/index.css index 748d8a1a..957d3ba4 100644 --- a/src/index.css +++ b/src/index.css @@ -15,7 +15,7 @@ } .tw-modal-box { - max-height: calc(100vh - 2em); + max-height: calc(100dvh - 2em); } .Toastify__toast {