mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 08:38:34 +00:00
fix: resolve navbar overlay issue on sign-in page (#14274)
This pr fixes #14273. I have implemented two minor CSS adjustments to resolve the navbar interaction issue on the sign-in page: - Removed position: relative and z-index: 1 from signInPageContainer. - Set z-index: 1 on the SignInPanel div (prevent SignInBackgroundArts from overlapping the SignInPanel) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Style** * Adjusted z-index layering for the sign-in page component. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -141,8 +141,6 @@ export const signInPageContainer = style({
|
|||||||
flexDirection: 'column',
|
flexDirection: 'column',
|
||||||
justifyContent: 'center',
|
justifyContent: 'center',
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
position: 'relative',
|
|
||||||
zIndex: 1,
|
|
||||||
});
|
});
|
||||||
export const input = style({
|
export const input = style({
|
||||||
width: '330px',
|
width: '330px',
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ export const SignIn = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SignInPageContainer>
|
<SignInPageContainer>
|
||||||
<div style={{ maxWidth: '400px', width: '100%' }}>
|
<div style={{ maxWidth: '400px', width: '100%', zIndex: 1 }}>
|
||||||
<SignInPanel
|
<SignInPanel
|
||||||
onSkip={handleClose}
|
onSkip={handleClose}
|
||||||
onAuthenticated={handleAuthenticated}
|
onAuthenticated={handleAuthenticated}
|
||||||
|
|||||||
Reference in New Issue
Block a user