From ebfce0db6553bd6335b712df1967c77ce852794a Mon Sep 17 00:00:00 2001 From: Imbus Date: Mon, 18 Dec 2023 15:42:49 +0100 Subject: [PATCH] Slight restyle to better fit mobile screens --- client-solid/src/Containers/LoginModal.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/client-solid/src/Containers/LoginModal.tsx b/client-solid/src/Containers/LoginModal.tsx index 0c5ef43..91ebfab 100644 --- a/client-solid/src/Containers/LoginModal.tsx +++ b/client-solid/src/Containers/LoginModal.tsx @@ -19,7 +19,7 @@ export function LoginModal(): JSXElement { return ( - @@ -59,3 +59,12 @@ export function LoginModal(): JSXElement { ); } + +// Local wrapper component for the login and register forms +function FormContainer({ children }: { children: JSXElement }): JSXElement { + return ( +
+ {children} +
+ ); +}