mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-24 09:52:49 +08:00
fix(web): adjust sign-in panel height (#12976)
before:  after:  <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## 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. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}}
|
||||
>
|
||||
<SignInPanel
|
||||
|
||||
Reference in New Issue
Block a user