From 89c66632652e6b709da212b5ffa8b1886646b3cd Mon Sep 17 00:00:00 2001 From: alammoiz Date: Thu, 17 Nov 2022 11:13:39 +0500 Subject: [PATCH] alert msg in different line when there is no space in the msg (#4636) --- frontend/src/App/App.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontend/src/App/App.jsx b/frontend/src/App/App.jsx index 6aa99aaee3..5a96ccc532 100644 --- a/frontend/src/App/App.jsx +++ b/frontend/src/App/App.jsx @@ -72,7 +72,11 @@ class App extends React.Component { render() { const { updateAvailable, onboarded, darkMode } = this.state; - let toastOptions = {}; + let toastOptions = { + style: { + 'word-break': 'break-all', + }, + }; if (darkMode) { toastOptions = { @@ -81,6 +85,7 @@ class App extends React.Component { borderRadius: '10px', background: '#333', color: '#fff', + 'word-break': 'break-all', }, }; }