Remove newline, save space for toast message.
authorsam365724 <111515092+sam365724@users.noreply.github.com>
Sat, 1 Oct 2022 20:05:17 +0000 (22:05 +0200)
committerGitHub <noreply@github.com>
Sat, 1 Oct 2022 20:05:17 +0000 (22:05 +0200)
src/shared/components/common/markdown-textarea.tsx

index 498c262579a569eb22cb79e841c1fe6b4c0072b7..33447eb6f57fe427ca3daa63cd6d475a4a0e6b98 100644 (file)
@@ -386,9 +386,9 @@ export class MarkdownTextArea extends Component<
           let textarea: any = document.getElementById(i.id);
           autosize.update(textarea);
           pictrsDeleteToast(
-            i18n.t("click_to_delete_picture").concat('\n(', file.name,')'),
-            i18n.t("picture_deleted").concat('\n(', file.name,')'),
-            i18n.t("fail_picture_deleted").concat('\n(', file.name,')'),
+            i18n.t("click_to_delete_picture").concat(' (', file.name,')'),
+            i18n.t("picture_deleted").concat(' (', file.name,')'),
+            i18n.t("fail_picture_deleted").concat(' (', file.name,')'),
             deleteUrl
           );
         } else {