From 0112baf88c214cc73ab7012a5aa59b6b1cfac38c Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 29 Dec 2025 17:02:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E5=BC=B9=E7=AA=97=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98=EF=BC=8C=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E9=BB=91?= =?UTF-8?q?=E6=9A=97=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复图片编辑器弹窗:使用与preview-attachment相同的居中方式 - 设置项目默认使用黑暗模式(defaultTheme: dark) --- app/layout.tsx | 2 +- components/image-annotator.tsx | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 117443a..6159151 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -147,7 +147,7 @@ export default function RootLayout({ diff --git a/components/image-annotator.tsx b/components/image-annotator.tsx index 6e14a9d..5aa747d 100644 --- a/components/image-annotator.tsx +++ b/components/image-annotator.tsx @@ -564,8 +564,11 @@ export function ImageAnnotator({ imageUrl, onConfirm, onCancel }: ImageAnnotator }; return ( -
- {/* 弹窗容器 - 固定在屏幕中央,固定大小 */} +
+ {/* 弹窗容器 - 使用与preview-attachment相同的居中方式 */}