From e96af21ff07d3391c3dc34917e634c449ea8b776 Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 22 Dec 2023 13:51:43 +0100 Subject: [PATCH] css fix --- src/Components/Gaming/Modal.tsx | 4 ++-- src/index.css | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {