From dd0ce307f50ee891b71cc21921f5a9b18f184cdc Mon Sep 17 00:00:00 2001 From: sam365724 <111515092+sam365724@users.noreply.github.com> Date: Sat, 1 Oct 2022 22:05:17 +0200 Subject: [PATCH] Remove newline, save space for toast message. --- src/shared/components/common/markdown-textarea.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/components/common/markdown-textarea.tsx b/src/shared/components/common/markdown-textarea.tsx index 498c262..33447eb 100644 --- a/src/shared/components/common/markdown-textarea.tsx +++ b/src/shared/components/common/markdown-textarea.tsx @@ -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 { -- 2.44.1