diff --git a/app/soapbox/components/ui/toast/toast.tsx b/app/soapbox/components/ui/toast/toast.tsx index a7e26c98cd..1e4d1d0866 100644 --- a/app/soapbox/components/ui/toast/toast.tsx +++ b/app/soapbox/components/ui/toast/toast.tsx @@ -6,6 +6,7 @@ import { Link } from 'react-router-dom'; import { ToastText, ToastType } from 'soapbox/toast'; +import HStack from '../hstack/hstack'; import Icon from '../icon/icon'; const renderText = (text: ToastText) => { @@ -63,7 +64,7 @@ const Toast = (props: IToast) => { }; const renderAction = () => { - const classNames = 'ml-3 mt-0.5 flex-shrink-0 rounded-full text-sm font-medium text-primary-600 dark:text-accent-blue hover:underline focus:outline-none'; + const classNames = 'mt-0.5 flex-shrink-0 rounded-full text-sm font-medium text-primary-600 dark:text-accent-blue hover:underline focus:outline-none'; if (action && actionLabel) { return ( @@ -109,24 +110,24 @@ const Toast = (props: IToast) => { } >
+
{renderText(message)}
-