diff --git a/web/src/app/(user)/image/page.tsx b/web/src/app/(user)/image/page.tsx index 44e06f5..43a7ae6 100644 --- a/web/src/app/(user)/image/page.tsx +++ b/web/src/app/(user)/image/page.tsx @@ -2,7 +2,7 @@ import { ArrowLeft, ArrowRight, BookOpen, CheckSquare, ClipboardPaste, Download, FolderPlus, History, ImagePlus, LoaderCircle, PenLine, Plus, SlidersHorizontal, Sparkles, Trash2, Upload } from "lucide-react"; import { useEffect, useRef, useState } from "react"; -import { App, Button, Checkbox, Drawer, Empty, Image, Input, Modal, Tag, Typography } from "antd"; +import { App, Button, Checkbox, Drawer, Empty, Image, Input, Modal, Tag, Tooltip, Typography } from "antd"; import localforage from "localforage"; import { saveAs } from "file-saver"; @@ -64,6 +64,7 @@ type GenerationLogConfig = Pick(key: K, value: AiConfig[K]) => void; const LOG_STORE_KEY = "infinite-canvas:image_generation_logs"; +const RESULT_ACTION_BUTTON_CLASS = "min-w-0 px-1.5 [&_.ant-btn-icon]:shrink-0 [&>span:last-child]:min-w-0 [&>span:last-child]:truncate"; const logStore = localforage.createInstance({ name: "infinite-canvas", storeName: "image_generation_logs" }); export default function ImagePage() { @@ -510,24 +511,30 @@ function ResultImageCard({ return (
{`生成结果 -
-
+
+
{image.width}x{image.height} {formatBytes(image.bytes)} {formatDuration(image.durationMs)}
-
- - - +
+ + + + + + + + +