From 3f756f305fb981f2d54279c6a2796943cbb3fadb Mon Sep 17 00:00:00 2001 From: TheMaddax Date: Wed, 16 Oct 2024 20:05:27 -0600 Subject: [PATCH] fix width --- client/src/components/JoinMCDi.tsx | 49 +++++++++++++++--------------- client/src/index.css | 8 +++-- 2 files changed, 29 insertions(+), 28 deletions(-) diff --git a/client/src/components/JoinMCDi.tsx b/client/src/components/JoinMCDi.tsx index 2ad29d1..70e0ba9 100644 --- a/client/src/components/JoinMCDi.tsx +++ b/client/src/components/JoinMCDi.tsx @@ -159,31 +159,30 @@ const JoinMCDi: React.FC = () => { -
-

Join MCDi Membership Form

-
- -
- -
-
+ isOpen={isModalOpen} + onRequestClose={closeModal} + contentLabel="Join MCDi Membership Form" + className="modal" + overlayClassName="overlay" +> +
+

Join MCDi Membership Form

+
+ +
+ +
+ {isLoading && ( diff --git a/client/src/index.css b/client/src/index.css index 71fa7b0..69ff373 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -117,9 +117,10 @@ html { background-color: white; padding: 20px; border-radius: 8px; - width: 60vw; - height: 60vh; - overflow-y: hidden; + width: 80%; + max-width: 1000px; + height: 90vh; + overflow: hidden; } .overlay { @@ -129,4 +130,5 @@ html { right: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.75); + overflow-y: auto; } \ No newline at end of file