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