From 3a1f79324d58bf2403c07219db76f13b10ebe112 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=B7=E7=94=B5=E8=8A=BD=E8=A1=A3?= Date: Thu, 16 Apr 2026 23:09:11 -0400 Subject: [PATCH] toast: cap message max-height with scroll; assertive role for danger toasts (P2-38, P3-55) --- src/renderer/components/Toast.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/renderer/components/Toast.tsx b/src/renderer/components/Toast.tsx index 44789ff3..e53b0f8e 100644 --- a/src/renderer/components/Toast.tsx +++ b/src/renderer/components/Toast.tsx @@ -17,7 +17,7 @@ export default function ToastContainer() { if (toasts.length === 0) return null return ( -
+
{toasts.map((toast) => { const cfg = TONE_CONFIG[toast.tone] @@ -25,6 +25,8 @@ export default function ToastContainer() { return ( - + {toast.message}