From 569c04acb04da15bcbb3511bfddab3e923bcc53d Mon Sep 17 00:00:00 2001 From: GAI Group <133845290+AI-ASS@users.noreply.github.com> Date: Sat, 6 Apr 2024 10:18:59 +0800 Subject: [PATCH] fix: fix Lark icon button style (#1279) --- web/default/src/components/LoginForm.js | 73 ++++++++++++++----------- 1 file changed, 41 insertions(+), 32 deletions(-) diff --git a/web/default/src/components/LoginForm.js b/web/default/src/components/LoginForm.js index 01408f56..1623b549 100644 --- a/web/default/src/components/LoginForm.js +++ b/web/default/src/components/LoginForm.js @@ -128,38 +128,47 @@ const LoginForm = () => { {status.github_oauth || status.wechat_login || status.lark_client_id ? ( <> Or - {status.github_oauth ? ( - onGitHubOAuthClicked(status.github_client_id)} - /> - ) : ( - <>> - )} - {status.lark_client_id ? ( - onLarkOAuthClicked(status.lark_client_id)} - style={{ padding: 0, width: 36, height: 36 }} - > - - - ) : ( - <>> - )} - {status.wechat_login ? ( - - ) : ( - <>> - )} + + {status.github_oauth ? ( + onGitHubOAuthClicked(status.github_client_id)} + /> + ) : ( + <>> + )} + {status.wechat_login ? ( + + ) : ( + <>> + )} + {status.lark_client_id ? ( + + onLarkOAuthClicked(status.lark_client_id)} + /> + + ) : ( + <>> + )} + > ) : ( <>>