From a2e9bf0504e4cf27d857a8cc8468d6fae2684eee Mon Sep 17 00:00:00 2001 From: Mohammed Cherfaoui Date: Tue, 17 Jan 2023 22:15:04 +0100 Subject: [PATCH] fix toast dimensions issues (#6522) --- packages/ui/components/toast/showToast.tsx | 24 ++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/packages/ui/components/toast/showToast.tsx b/packages/ui/components/toast/showToast.tsx index 7b2b5e8761..0d8aaee563 100644 --- a/packages/ui/components/toast/showToast.tsx +++ b/packages/ui/components/toast/showToast.tsx @@ -11,10 +11,12 @@ type IToast = { export const SuccessToast = ({ message, toastVisible }: IToast) => (
- + + +

{message}

); @@ -22,10 +24,12 @@ export const SuccessToast = ({ message, toastVisible }: IToast) => ( export const ErrorToast = ({ message, toastVisible }: IToast) => (
- + + +

{message}

); @@ -33,10 +37,12 @@ export const ErrorToast = ({ message, toastVisible }: IToast) => ( export const WarningToast = ({ message, toastVisible }: IToast) => (
- + + +

{message}

); @@ -44,10 +50,12 @@ export const WarningToast = ({ message, toastVisible }: IToast) => ( export const DefaultToast = ({ message, toastVisible }: IToast) => (
- + + +

{message}

);