From 4f4e7251d6446fce003dd22355bc063b64212145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D9=85=D9=87=D8=B1=D8=B2=D8=A7=D8=AF=20=D9=82=D8=AF=D8=B1?= =?UTF-8?q?=D8=AA=DB=8C?= Date: Sun, 27 Jul 2025 15:11:23 +0330 Subject: [PATCH] chore: Toast responsive width --- src/components/Toast.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/Toast.tsx b/src/components/Toast.tsx index 947194f..78b89a1 100644 --- a/src/components/Toast.tsx +++ b/src/components/Toast.tsx @@ -9,7 +9,11 @@ export interface ToastProps extends PropsWithChildren { export const Toast = ({ color, open, onClose, children }: ToastProps) => { return ( - + `calc(100% - ${t.spacing(6)})`, maxWidth: '396px' }} + open={open} + onClose={onClose} + >