feat: AI生图与AI一键生成视频弹窗改为全屏显示

This commit is contained in:
jinghui committed 2026-11-19 09:08:45 +08:00
1 parent b6e0c475d3
commit fa989d0220
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -216,7 +216,7 @@ export default function AIGenModal({ open, onClose, onSaved }) {
return (
<div className="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4" onClick={onClose}>
<div
className="bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-full max-w-5xl max-h-[90vh] overflow-hidden flex flex-col"
className="bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-[98vw] h-[98vh] max-w-none max-h-none overflow-hidden flex flex-col"
onClick={(e) => e.stopPropagation()}
>
{/* 头部 */}