From 4cd5cd4bae7e5031942012565239740dae8a6745 Mon Sep 17 00:00:00 2001 From: Alex Holliday Date: Wed, 16 Jul 2025 12:51:52 -0700 Subject: [PATCH] fix close icon placement for toasts without title --- client/src/Components/Toast/index.jsx | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/client/src/Components/Toast/index.jsx b/client/src/Components/Toast/index.jsx index 4505b758b..36df0e631 100644 --- a/client/src/Components/Toast/index.jsx +++ b/client/src/Components/Toast/index.jsx @@ -48,12 +48,25 @@ const Toast = ({ variant, title, body, onClick, hasDismiss, hasIcon }) => { {title} )} - - - + {title && ( + + + + )} - + + + {!title && ( + + + + )} + {hasDismiss && (