fix: 所有弹窗仅通过关闭按钮关闭,点击遮罩不再关闭

This commit is contained in:
jinghui committed 2026-11-19 09:10:51 +08:00
1 parent fa989d0220
commit 3c3d834806
7 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ export default function SettingsModal({ open, onClose, versionLabel, initialTab
];
return (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4" onClick={onClose}>
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4">
<div
className="bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-full max-w-3xl max-h-[85vh] overflow-hidden flex"
onClick={(e) => e.stopPropagation()}