mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
fix(core): signIn page style (#6582)
This commit is contained in:
@@ -30,7 +30,6 @@ export const NoPermissionOrNotFound = ({
|
|||||||
return (
|
return (
|
||||||
<AffineOtherPageLayout>
|
<AffineOtherPageLayout>
|
||||||
<div className={notFoundPageContainer} data-testid="not-found">
|
<div className={notFoundPageContainer} data-testid="not-found">
|
||||||
<div>
|
|
||||||
{user ? (
|
{user ? (
|
||||||
<>
|
<>
|
||||||
<div className={wrapper}>
|
<div className={wrapper}>
|
||||||
@@ -61,7 +60,6 @@ export const NoPermissionOrNotFound = ({
|
|||||||
signInComponent
|
signInComponent
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</AffineOtherPageLayout>
|
</AffineOtherPageLayout>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@@ -76,7 +74,6 @@ export const NotFoundPage = ({
|
|||||||
return (
|
return (
|
||||||
<AffineOtherPageLayout>
|
<AffineOtherPageLayout>
|
||||||
<div className={notFoundPageContainer} data-testid="not-found">
|
<div className={notFoundPageContainer} data-testid="not-found">
|
||||||
<div>
|
|
||||||
<div className={wrapper}>
|
<div className={wrapper}>
|
||||||
<NotFoundPattern />
|
<NotFoundPattern />
|
||||||
</div>
|
</div>
|
||||||
@@ -104,7 +101,6 @@ export const NotFoundPage = ({
|
|||||||
</div>
|
</div>
|
||||||
) : null}
|
) : null}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</AffineOtherPageLayout>
|
</AffineOtherPageLayout>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ export const notFoundPageContainer = style({
|
|||||||
color: cssVar('textPrimaryColor'),
|
color: cssVar('textPrimaryColor'),
|
||||||
height: '100vh',
|
height: '100vh',
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
flexDirection: 'column',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ export const SignIn = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SignInPageContainer>
|
<SignInPageContainer>
|
||||||
<div style={{ maxWidth: '400px' }}>
|
<div style={{ maxWidth: '400px', width: '100%' }}>
|
||||||
<AuthPanel
|
<AuthPanel
|
||||||
state={state}
|
state={state}
|
||||||
email={email}
|
email={email}
|
||||||
|
|||||||
Reference in New Issue
Block a user