From 22d6ec482cf2ba292ec26b7e3f08aadcbdabe50e Mon Sep 17 00:00:00 2001 From: EvanLin3141 Date: Tue, 11 Feb 2025 11:08:26 +0000 Subject: [PATCH] UPDATE: Google Login Responsiveness --- frontend/src/components/Auth/LoginForm.tsx | 23 +++++++++--------- frontend/src/components/Auth/OAuth.tsx | 27 +++++++++++++--------- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/Auth/LoginForm.tsx b/frontend/src/components/Auth/LoginForm.tsx index e520b80..8344472 100644 --- a/frontend/src/components/Auth/LoginForm.tsx +++ b/frontend/src/components/Auth/LoginForm.tsx @@ -102,11 +102,11 @@ const LoginForm: React.FC = ({ onSubmit, onForgotPassword }) => { return ( <>
-

Login

+

Login

{errors.general && (

{errors.general}

@@ -134,18 +134,19 @@ const LoginForm: React.FC = ({ onSubmit, onForgotPassword }) => { onChange={handleInputChange} extraClasses={`${errors.password ? "border-red-500" : ""}`} /> + - - - +
+ +
); diff --git a/frontend/src/components/Auth/OAuth.tsx b/frontend/src/components/Auth/OAuth.tsx index a3c5446..7f89aff 100644 --- a/frontend/src/components/Auth/OAuth.tsx +++ b/frontend/src/components/Auth/OAuth.tsx @@ -7,17 +7,22 @@ export default function GoogleLogin() { }; return ( -
- +
+
+ +
); }