From 3f1f10be4941fbfe2ef57eb45bbd4c9e796ef2dd Mon Sep 17 00:00:00 2001 From: imeepos Date: Tue, 13 Jan 2026 16:08:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=98=E5=8C=96=20Toast=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E4=BD=BF=E5=85=B6=E6=9B=B4=E6=98=8E=E6=98=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 增大字体从 16px 到 18px - 添加字重加粗 (font-semibold) - 增加内边距 (px: 12→24, py: 8→16) - 增加外边距 (mx: 20→40) - 增加背景不透明度 (85%→90%) - 增加圆角 (2px→8px) - 添加阴影效果 (shadow-lg) - 调整垂直位置 (mt-[-40px]→mt-[-80px]) Co-Authored-By: Claude --- components/ui/Toast.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/ui/Toast.tsx b/components/ui/Toast.tsx index 1dcdef6..dfb1c3a 100644 --- a/components/ui/Toast.tsx +++ b/components/ui/Toast.tsx @@ -73,12 +73,12 @@ const Toast = (function () { if (renderContent) { return renderContent() } - return title && {title} + return title && {title} } ; (global as any).toast?.show( - + {renderBody()} ,