diff --git a/app/soapbox/components/ui/toast/toast.tsx b/app/soapbox/components/ui/toast/toast.tsx index 1e4d1d086..1aec2a2b6 100644 --- a/app/soapbox/components/ui/toast/toast.tsx +++ b/app/soapbox/components/ui/toast/toast.tsx @@ -103,43 +103,41 @@ const Toast = (props: IToast) => { data-testid='toast' className={ classNames({ - 'pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white dark:bg-gray-900 shadow-lg dark:ring-2 dark:ring-gray-800': true, + 'p-4 pointer-events-auto w-full max-w-sm overflow-hidden rounded-lg bg-white dark:bg-gray-900 shadow-lg dark:ring-2 dark:ring-gray-800': true, 'animate-enter': t.visible, 'animate-leave': !t.visible, }) } > -
- - - -
- {renderIcon()} -
+ + + +
+ {renderIcon()} +
-

- {renderText(message)} -

-
- - {/* Action */} - {renderAction()} +

+ {renderText(message)} +

- {/* Dismiss Button */} -
- -
+ {/* Action */} + {renderAction()}
-
+ + {/* Dismiss Button */} +
+ +
+ ); };