From d49a069351a005f263a8735963168e6f35a5b67c Mon Sep 17 00:00:00 2001 From: Hwang Date: Tue, 1 Jul 2025 17:26:53 +0800 Subject: [PATCH] fix(web): adjust sign-in panel height (#12976) before: ![image](https://github.com/user-attachments/assets/dde283fb-65af-413f-8610-a297da8968d6) after: ![Electron 2025-07-01 15 02 53](https://github.com/user-attachments/assets/cf1b58d2-612c-4fc3-9e7e-56685b6668c3) ## Summary by CodeRabbit * **Style** * Updated the sign-in dialog to have a flexible height, allowing it to adjust between 550 and 650 pixels for improved display across different content sizes. --- .../frontend/core/src/desktop/dialogs/sign-in/index.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx b/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx index e6bab296c..e74febf43 100644 --- a/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx +++ b/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx @@ -25,10 +25,13 @@ export const SignInDialog = ({ persistent onOpenChange={() => close()} width={400} - height={550} contentOptions={{ ['data-testid' as string]: 'auth-modal', - style: { padding: '44px 40px 20px' }, + style: { + padding: '44px 40px 20px', + minHeight: 550, + maxHeight: 650, + }, }} >