From 40e69d69ea8aa3b5e859cc83ed948009a015f78a Mon Sep 17 00:00:00 2001
From: awenes <1121353141@qq.com>
Date: Tue, 26 Sep 2023 15:54:15 +0800
Subject: [PATCH] =?UTF-8?q?:zap:=20=E7=99=BB=E5=BD=95=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E6=96=B0=E8=AE=BE=E8=AE=A1?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/console-fe/src/pages/user/Login/Login.tsx | 4 ++--
.../src/main/console-fe/src/pages/user/Login/style.ts | 9 +++++++--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx b/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx
index 7893b91a..bf1380f8 100644
--- a/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx
+++ b/eiam-console/src/main/console-fe/src/pages/user/Login/Login.tsx
@@ -151,8 +151,8 @@ const Login: React.FC = () => {
- {showBanner && }
+ {showBanner &&
}
{
},
}}
onFinish={async (values) => {
- await run(values);
+ run(values);
return data;
}}
>
diff --git a/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts b/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts
index fa61fd72..1da102b6 100644
--- a/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts
+++ b/eiam-console/src/main/console-fe/src/pages/user/Login/style.ts
@@ -23,7 +23,6 @@ const useStyle = createStyles(({ token, prefixCls }, prefix) => {
return {
main: {
[`${prefixClassName}`]: {
- padding: '24px',
[`${prefixClassName}-form-prefix-icon`]: {
color: token.colorPrimary,
fontSize: token.fontSize,
@@ -46,12 +45,18 @@ const useStyle = createStyles(({ token, prefixCls }, prefix) => {
},
[`${antCls}-pro-form-login-page-desc`]: {
marginTop: '25px',
- marginBottom: '25px',
+ marginBottom: '40px',
color: 'rgba(0, 0, 0, 0.45)',
fontSize: '14px',
},
[`${antCls}-pro-form-login-page-container`]: {
height: 'auto',
+ [`${antCls}-pro-form-login-page-top`]: {
+ marginTop: '25px',
+ },
+ },
+ [`${antCls}-pro-form-login-page-main`]: {
+ marginBottom: '80px',
},
},
},