From: sam365724 <111515092+sam365724@users.noreply.github.com> Date: Sat, 1 Oct 2022 20:05:17 +0000 (+0200) Subject: Remove newline, save space for toast message. X-Git-Url: http://these/git/%24%7BgetStaticDir%28%29%7D/styles/%7B%60https:/%7BjoinLemmyUrl%7D?a=commitdiff_plain;h=dd0ce307f50ee891b71cc21921f5a9b18f184cdc;p=lemmy-ui.git Remove newline, save space for toast message. --- 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 {