From b9fb811fe531de882f8787ffdb3b7773e4590429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Wed, 2 Sep 2026 14:28:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E9=94=99=E8=AF=AF=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E8=BF=81=E7=A7=BB=E8=87=B3?= =?UTF-8?q?=20Tailwind?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 错误提示改用内联 Tailwind 类 错误报告对话框改用内联 Tailwind 类 移除对应全局 CSS 规则 --- .../error-report/ErrorReportDialog.tsx | 44 +++++++++++++------ .../error-report/ErrorReportNotice.tsx | 17 +++++-- apps/ai-game-creator-shell/src/styles.css | 41 ----------------- 3 files changed, 44 insertions(+), 58 deletions(-) diff --git a/apps/ai-game-creator-shell/src/components/error-report/ErrorReportDialog.tsx b/apps/ai-game-creator-shell/src/components/error-report/ErrorReportDialog.tsx index 0b109ca80..076728cc7 100644 --- a/apps/ai-game-creator-shell/src/components/error-report/ErrorReportDialog.tsx +++ b/apps/ai-game-creator-shell/src/components/error-report/ErrorReportDialog.tsx @@ -95,25 +95,34 @@ export function ErrorReportDialog({ open={open} ariaLabel="报告问题" onClose={onClose} - panelClassName="error-report-dialog" + panelClassName="w-[min(560px,calc(100vw-2rem))] max-h-[min(760px,calc(100vh-2rem))] overflow-auto rounded-[18px] p-5 shadow-[0_24px_80px_rgb(36_20_12_/_22%)]" > -
+
-

报告问题

+

报告问题

-
-
+
错误事件({events.length}) {events.length ? ( -
    +
      {events.map((event) => ( -
    • -
    • + - + {event.source} · {event.count} 次
    • @@ -138,16 +147,17 @@ export function ErrorReportDialog({

      当前没有待报告的错误。

      )}
-