Remove newline, save space for toast message.

This commit is contained in:
sam365724 2022-10-01 22:05:17 +02:00 committed by GitHub
parent 059dfbd3a5
commit dd0ce307f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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