mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +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',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
position: 'relative',
|
||||
zIndex: 1,
|
||||
});
|
||||
export const input = style({
|
||||
width: '330px',
|
||||
|
||||
@@ -64,7 +64,7 @@ export const SignIn = ({
|
||||
|
||||
return (
|
||||
<SignInPageContainer>
|
||||
<div style={{ maxWidth: '400px', width: '100%' }}>
|
||||
<div style={{ maxWidth: '400px', width: '100%', zIndex: 1 }}>
|
||||
<SignInPanel
|
||||
onSkip={handleClose}
|
||||
onAuthenticated={handleAuthenticated}
|
||||
|
||||
Reference in New Issue
Block a user