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()}
>
{/* 头部 */}
@@ -178,7 +178,7 @@ export default function AIVideoStudioModal({ libraryId, onClose, onDone }) {
return (
<div className="fixed inset-0 z-50 bg-black bg-opacity-60 flex items-center justify-center p-4" onClick={(running||starting)?undefined:onClose}>
<div className="bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-full max-w-2xl max-h-[92vh] overflow-y-auto" onClick={(e)=>e.stopPropagation()}>
<div className="bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-[98vw] h-[98vh] max-w-none max-h-none overflow-y-auto" onClick={(e)=>e.stopPropagation()}>
<div className="flex items-center justify-between px-5 py-4 border-b border-gray-200 dark:border-gray-700">
<div className="flex items-center gap-2">
<Film className="w-5 h-5 text-purple-500" />