From c71aa51765cf471d2f8199aaf05a165bedf687bc Mon Sep 17 00:00:00 2001 From: daniele-mng Date: Mon, 6 Jan 2025 17:07:43 +0100 Subject: [PATCH] change: improve dialog message display --- src/web/components/dialog/content.jsx | 1 + src/web/entities/footer.jsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/components/dialog/content.jsx b/src/web/components/dialog/content.jsx index ab33e5c809..4f48a6292d 100644 --- a/src/web/components/dialog/content.jsx +++ b/src/web/components/dialog/content.jsx @@ -11,6 +11,7 @@ const DialogContent = styled.div` height: inherit; padding: 0; gap: 20px; + white-space: pre-line; `; export default DialogContent; diff --git a/src/web/entities/footer.jsx b/src/web/entities/footer.jsx index 339718b95e..4c94bcf712 100644 --- a/src/web/entities/footer.jsx +++ b/src/web/entities/footer.jsx @@ -55,7 +55,7 @@ export const EntitiesFooter = ({ const configMap = { [DIALOG_TYPES.DELETE]: { dialogText: _( - 'Are you sure you want to delete all rows in the page of the table? This action cannot be undone.', + 'Are you sure you want to delete all rows in the page of the table?\n This action cannot be undone.', ), dialogTitle: _('Confirm Deletion'), dialogButtonTitle: _('Delete'),