未登录调弹窗

This commit is contained in:
xianyi
2025-12-26 15:53:27 +08:00
parent 9356eda863
commit a4da36ec08
2 changed files with 26 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ export const LoginModal = ({ onClose, onLoginSuccess }: LoginModalProps) => {
const canLogin = !!(username && password && imgCode && imgCodeKey && !loading);
return (
<div className='fixed inset-0 z-50 flex items-center justify-center bg-black/30' onClick={onClose}>
<div style={{ marginTop: '0' }} className='fixed inset-0 z-50 flex items-center justify-center bg-black/30 h-screen' onClick={onClose}>
<div
className='w-[480px] max-w-[95vw] bg-white rounded-3xl shadow-xl overflow-hidden text-sm'
onClick={(e) => e.stopPropagation()}